Add versionadded tag to nonlocal doc

This commit is contained in:
Gregor Best 2015-05-12 09:29:55 +02:00
parent e4ed5cc357
commit 5743f6ae78

View File

@ -1011,6 +1011,8 @@ conditional expression. Some examples:
nonlocal nonlocal
-------- --------
.. versionadded:: 0.11.1
**PYTHON 3.0 AND UP ONLY!** **PYTHON 3.0 AND UP ONLY!**
``nonlocal`` can be used to mark a symbol as not local to the current scope. ``nonlocal`` can be used to mark a symbol as not local to the current scope.