diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-27 18:41:19 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-27 18:41:19 (GMT) |
commit | 1ecf7d204dd3abb143f53851c31fefd4ef887314 (patch) | |
tree | 9cd727d732a82c41d4522b1fd405f408d4718f61 /Doc/c-api/import.rst | |
parent | b29cee40ee948731f239cc3a200c62ea3dbabc9f (diff) | |
download | cpython-1ecf7d204dd3abb143f53851c31fefd4ef887314.zip cpython-1ecf7d204dd3abb143f53851c31fefd4ef887314.tar.gz cpython-1ecf7d204dd3abb143f53851c31fefd4ef887314.tar.bz2 |
Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
Diffstat (limited to 'Doc/c-api/import.rst')
-rw-r--r-- | Doc/c-api/import.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst index 5a083ce..5273633 100644 --- a/Doc/c-api/import.rst +++ b/Doc/c-api/import.rst @@ -185,10 +185,10 @@ Importing Modules Return the magic number for Python bytecode files (a.k.a. :file:`.pyc` file). The magic number should be present in the first four bytes of the bytecode - file, in little-endian byte order. Returns -1 on error. + file, in little-endian byte order. Returns ``-1`` on error. .. versionchanged:: 3.3 - Return value of -1 upon failure. + Return value of ``-1`` upon failure. .. c:function:: const char * PyImport_GetMagicTag() |