diff options
author | Georg Brandl <georg@python.org> | 2014-03-24 08:06:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-03-24 08:06:18 (GMT) |
commit | df48b97855b378a13d852656d358ca92ecbe4aa3 (patch) | |
tree | 3075e47c89a79974038451d9e65cd59c7f533396 /Doc/c-api | |
parent | 645d3b76559d3c85cc90d2c8787fa6c765327e71 (diff) | |
download | cpython-df48b97855b378a13d852656d358ca92ecbe4aa3.zip cpython-df48b97855b378a13d852656d358ca92ecbe4aa3.tar.gz cpython-df48b97855b378a13d852656d358ca92ecbe4aa3.tar.bz2 |
Fix a few scoping issues with versionadded/versionchanged directives.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/exceptions.rst | 8 | ||||
-rw-r--r-- | Doc/c-api/object.rst | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 7067448..6fda191 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -247,7 +247,7 @@ in various ways. There is a separate error indicator for each thread. filename object, for raising errors when a function that takes two filenames fails. -.. versionadded:: 3.4 + .. versionadded:: 3.4 .. c:function:: PyObject* PyErr_SetFromErrnoWithFilename(PyObject *type, const char *filename) @@ -295,7 +295,7 @@ in various ways. There is a separate error indicator for each thread. but accepts a second filename object. Availability: Windows. -.. versionadded:: 3.4 + .. versionadded:: 3.4 .. c:function:: PyObject* PyErr_SetExcFromWindowsErrWithFilename(PyObject *type, int ierr, const char *filename) @@ -321,7 +321,7 @@ in various ways. There is a separate error indicator for each thread. attributes, which make the exception printing subsystem think the exception is a :exc:`SyntaxError`. -.. versionadded:: 3.4 + .. versionadded:: 3.4 .. c:function:: void PyErr_SyntaxLocationEx(char *filename, int lineno, int col_offset) @@ -329,7 +329,7 @@ in various ways. There is a separate error indicator for each thread. Like :c:func:`PyErr_SyntaxLocationObject`, but *filename* is a byte string decoded from the filesystem encoding (:func:`os.fsdecode`). -.. versionadded:: 3.2 + .. versionadded:: 3.2 .. c:function:: void PyErr_SyntaxLocation(char *filename, int lineno) diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst index 509ca3f..3e7c3b6 100644 --- a/Doc/c-api/object.rst +++ b/Doc/c-api/object.rst @@ -364,6 +364,7 @@ attribute is considered sufficient for this determination. .. versionadded:: 3.4 + .. c:function:: PyObject* PyObject_GetItem(PyObject *o, PyObject *key) Return element of *o* corresponding to the object *key* or *NULL* on failure. |