mirror of https://github.com/python/cpython
Merged revisions 80983 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80983 | benjamin.peterson | 2010-05-08 10:26:30 -0500 (Sat, 08 May 2010) | 1 line replace long with int ........
This commit is contained in:
parent
858b8f775e
commit
3a3bba34e2
|
@ -69,9 +69,9 @@ support weak references but can add support through subclassing::
|
|||
|
||||
obj = Dict(red=1, green=2, blue=3) # this object is weak referenceable
|
||||
|
||||
Other built-in types such as :class:`tuple` and :class:`long` do not support
|
||||
weak references even when subclassed (This is an implementation detail and may
|
||||
be different across various Python implementations.).
|
||||
Other built-in types such as :class:`tuple` and :class:`int` do not support weak
|
||||
references even when subclassed (This is an implementation detail and may be
|
||||
different across various Python implementations.).
|
||||
|
||||
Extension types can easily be made to support weak references; see
|
||||
:ref:`weakref-support`.
|
||||
|
|
Loading…
Reference in New Issue