[Python-checkins] r86634 - python/branches/py3k/Doc/library/inspect.rst
nick.coghlan
python-checkins at python.org
Sun Nov 21 04:55:53 CET 2010
Author: nick.coghlan
Date: Sun Nov 21 04:55:53 2010
New Revision: 86634
Log:
Add a couple of missing versionadded tags in the inspect module docs
Modified:
python/branches/py3k/Doc/library/inspect.rst
Modified: python/branches/py3k/Doc/library/inspect.rst
==============================================================================
--- python/branches/py3k/Doc/library/inspect.rst (original)
+++ python/branches/py3k/Doc/library/inspect.rst Sun Nov 21 04:55:53 2010
@@ -587,6 +587,8 @@
that raise AttributeError). It can also return descriptors objects
instead of instance members.
+ .. versionadded:: 3.2
+
The only known case that can cause `getattr_static` to trigger code execution,
and cause it to return incorrect results (or even break), is where a class uses
:data:`~object.__slots__` and provides a `__dict__` member using a property or
@@ -621,6 +623,7 @@
# have to do
pass
+
Current State of a Generator
----------------------------
@@ -640,5 +643,4 @@
GEN_SUSPENDED: Currently suspended at a yield expression.
GEN_CLOSED: Execution has completed.
-
-
+ .. versionadded:: 3.2
More information about the Python-checkins
mailing list