mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix Mac build, patch #1091 by Humberto Diogenes.
This commit is contained in:
parent
e4ac7504c9
commit
c76473d887
8 changed files with 18 additions and 16 deletions
|
@ -17,7 +17,8 @@ import warnings
|
|||
warnings.warn("the buildtools module is deprecated", DeprecationWarning, 2)
|
||||
|
||||
|
||||
BuildError = "BuildError"
|
||||
class BuildError(Exception):
|
||||
pass
|
||||
|
||||
# .pyc file (and 'PYC ' resource magic number)
|
||||
MAGIC = imp.get_magic()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue