mirror of https://github.com/python/cpython.git
Once we're done with the sys module, remove it from the namespace so
this module is "import *" safe.
This commit is contained in:
parent
691270feee
commit
c40cdf7238
|
@ -2,6 +2,7 @@
|
||||||
import sys
|
import sys
|
||||||
if sys.platform[:4] == "java":
|
if sys.platform[:4] == "java":
|
||||||
from java.lang import Exception
|
from java.lang import Exception
|
||||||
|
del sys
|
||||||
|
|
||||||
# ===== SAXEXCEPTION =====
|
# ===== SAXEXCEPTION =====
|
||||||
|
|
||||||
|
@ -103,6 +104,3 @@ class SAXNotSupportedException(SAXException):
|
||||||
perform is requested (specifically setting a state or value). SAX
|
perform is requested (specifically setting a state or value). SAX
|
||||||
applications and extensions may use this class for similar
|
applications and extensions may use this class for similar
|
||||||
purposes."""
|
purposes."""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue