diff options
author | Georg Brandl <georg@python.org> | 2010-08-17 15:07:14 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-17 15:07:14 (GMT) |
commit | 67b21b7547feee634bbecafeb88606ff350c0d3c (patch) | |
tree | bd493e5b10f9cead75ed145def9e0098b53188ab /Doc/c-api/arg.rst | |
parent | 9e25701e87936ef61c348b5da6f9b580a52bab19 (diff) | |
download | cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.zip cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.gz cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.bz2 |
Consistency check for versionadded/changed directives.
Diffstat (limited to 'Doc/c-api/arg.rst')
-rw-r--r-- | Doc/c-api/arg.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 72f2d96..f955c96 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -305,13 +305,14 @@ Other objects the conversion has failed. When the conversion fails, the *converter* function should raise an exception and leave the content of *address* unmodified. - If the *converter* returns Py_CLEANUP_SUPPORTED, it may get called a second time - if the argument parsing eventually fails, giving the converter a chance to release - any memory that it had already allocated. In this second call, the *object* parameter - will be NULL; *address* will have the same value as in the original call. + If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a + second time if the argument parsing eventually fails, giving the converter a + chance to release any memory that it had already allocated. In this second + call, the *object* parameter will be NULL; *address* will have the same value + as in the original call. .. versionchanged:: 3.1 - Py_CLEANUP_SUPPORTED was added. + ``Py_CLEANUP_SUPPORTED`` was added. ``(items)`` (:class:`tuple`) [*matching-items*] The object must be a Python sequence whose length is the number of format units |