diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-02-09 11:31:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 11:31:19 (GMT) |
commit | 5bb0005f9ff768ac443924b4bb26c3818ce8dc5a (patch) | |
tree | f9a5f2ba1d855d62955e649e6054fc515f47ed70 /Doc/whatsnew | |
parent | 23cdbfa744f0ec0e9e7575d378df4cb758691cd3 (diff) | |
download | cpython-5bb0005f9ff768ac443924b4bb26c3818ce8dc5a.zip cpython-5bb0005f9ff768ac443924b4bb26c3818ce8dc5a.tar.gz cpython-5bb0005f9ff768ac443924b4bb26c3818ce8dc5a.tar.bz2 |
Make formatting of some return codes conforming to the general style. (#5587)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index b82227d..7e5133d 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -2480,12 +2480,12 @@ Porting C code :c:func:`PyUnicode_FromFormat()`, your code will automatically take advantage of the new unicode representations. -* :c:func:`PyImport_GetMagicNumber` now returns -1 upon failure. +* :c:func:`PyImport_GetMagicNumber` now returns ``-1`` upon failure. * As a negative value for the *level* argument to :func:`__import__` is no longer valid, the same now holds for :c:func:`PyImport_ImportModuleLevel`. This also means that the value of *level* used by - :c:func:`PyImport_ImportModuleEx` is now 0 instead of -1. + :c:func:`PyImport_ImportModuleEx` is now ``0`` instead of ``-1``. Building C extensions |