mirror of https://github.com/python/cpython
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
|
||||
if sys.platform[:4] == "java":
|
||||
from java.lang import Exception
|
||||
del sys
|
||||
|
||||
# ===== SAXEXCEPTION =====
|
||||
|
||||
|
@ -103,6 +104,3 @@ class SAXNotSupportedException(SAXException):
|
|||
perform is requested (specifically setting a state or value). SAX
|
||||
applications and extensions may use this class for similar
|
||||
purposes."""
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue