mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
- restored 1.5.2 compatibility (sorry, eric)
- removed __all__ cruft from internal modules (sorry, skip) - don't assume ASCII for string escapes (sorry, per)
This commit is contained in:
parent
ae7636753e
commit
f2989b22ff
5 changed files with 39 additions and 31 deletions
|
@ -12,8 +12,6 @@ import _sre
|
|||
|
||||
from sre_constants import *
|
||||
|
||||
__all__ = ["compile"]
|
||||
|
||||
assert _sre.MAGIC == MAGIC, "SRE module mismatch"
|
||||
|
||||
MAXCODE = 65535
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue