New submission from Florent Xicluna <florent.xicl...@gmail.com>:

The example uses PyInstanceObject which is Python 2 only (old-style classes).

http://docs.python.org/dev/extending/newtypes.html#weak-reference-support

----------
assignee: docs@python
components: Documentation, Extension Modules
messages: 149183
nosy: docs@python, flox
priority: normal
severity: normal
stage: needs patch
status: open
title: refresh example in doc for Extending and Embedding
type: behavior
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13574>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to