mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Lib/imp.py.
This commit is contained in:
parent
afbb5fbeb8
commit
77b2abd094
6 changed files with 3941 additions and 3939 deletions
|
@ -172,7 +172,10 @@ Importing Modules
|
|||
|
||||
Return the magic number for Python bytecode files (a.k.a. :file:`.pyc` and
|
||||
:file:`.pyo` files). The magic number should be present in the first four bytes
|
||||
of the bytecode file, in little-endian byte order.
|
||||
of the bytecode file, in little-endian byte order. Returns -1 on error.
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
Return value of -1 upon failure.
|
||||
|
||||
|
||||
.. c:function:: const char * PyImport_GetMagicTag()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue