Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
25
wxPython/wx/py/wxd/Errors.py
Normal file
25
wxPython/wx/py/wxd/Errors.py
Normal file
@@ -0,0 +1,25 @@
|
||||
"""Decorator classes for documentation and shell scripting.
|
||||
"""
|
||||
|
||||
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
|
||||
__cvsid__ = "$Id$"
|
||||
__revision__ = "$Revision$"[11:-2]
|
||||
|
||||
|
||||
# These are not the real wxPython classes. These are Python versions
|
||||
# for documentation purposes. They are also used to apply docstrings
|
||||
# to the real wxPython classes, which are SWIG-generated wrappers for
|
||||
# C-language classes.
|
||||
|
||||
|
||||
class PyAssertionError(AssertionError):
|
||||
""""""
|
||||
pass
|
||||
|
||||
|
||||
class PyDeadObjectError(AttributeError):
|
||||
"""Instances of wx objects that are OOR capable will have their
|
||||
__class__ attribute changed to a _wxPyDeadObject class when the
|
||||
C++ object is deleted. Subsequent attempts to access object
|
||||
attributes will raise this error, rather than segfault."""
|
||||
pass
|
Reference in New Issue
Block a user