Searched defs:PyCompileError (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
H A Dpy_compile.py15 __all__ = ["compile", "main", "PyCompileError"]
18 class PyCompileError(Exception): class in inherits:Exception
24 raise PyCompileError(exc_type,exc_value,file[,msg])
87 PyCompileError exception will be raised.
115 py_exc = PyCompileError(err.__class__, err, dfile or file)
153 except PyCompileError as error:
163 except PyCompileError as error:
/external/python/cpython3/Lib/
H A Dpy_compile.py14 __all__ = ["compile", "main", "PyCompileError"]
17 class PyCompileError(Exception): class in inherits:Exception
23 raise PyCompileError(exc_type,exc_value,file[,msg])
77 exception occurs and this flag is set to True, a PyCompileError
127 py_exc = PyCompileError(err.__class__, err, dfile or file)
169 except PyCompileError as error:
179 except PyCompileError as error:

Completed in 6011 milliseconds