]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix `versionchanged` tags for json.load
authorHynek Schlawack <hs@ox.cx>
Sun, 20 May 2012 16:32:53 +0000 (18:32 +0200)
committerHynek Schlawack <hs@ox.cx>
Sun, 20 May 2012 16:32:53 +0000 (18:32 +0200)
`versionchanged` tags about 2.7 are useless in 3.x branches.

Doc/library/json.rst

index b20709f0736c18e265e13849d4ad619bcec815f2..2bdc577fefbca24bf977a029ddc5ab8812fd4970 100644 (file)
@@ -213,7 +213,7 @@ Basic Usage
    This can be used to raise an exception if invalid JSON numbers
    are encountered.
 
-   .. versionchanged:: 2.7
+   .. versionchanged:: 3.1
       *parse_constant* doesn't get called on 'null', 'true', 'false' anymore.
 
    To use a custom :class:`JSONDecoder` subclass, specify it with the ``cls``