Skip to content

Commit 6c8c9a1

Browse files
Update Doc/c-api/sys.rst
Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent 312ed88 commit 6c8c9a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/c-api/sys.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,8 @@ accessible to C code. They all work with the current interpreter thread's
260260
261261
.. c:function:: PyObject *PySys_GetAttr(PyObject *name)
262262
263-
Return the object *name* from the :mod:`sys` module.
264-
265-
Return a new object on success. Set an exception and return ``NULL`` on
263+
Return the object *name* from the :mod:`sys` module on success.
264+
Set an exception and return ``NULL`` on
266265
error.
267266
268267
.. versionadded:: next

0 commit comments

Comments
 (0)