]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wx/py/wxd/Errors.py
updated Joystick demo, is now wxDesigner-less
[wxWidgets.git] / wxPython / wx / py / wxd / Errors.py
CommitLineData
1e4a197e
RD
1"""Decorator classes for documentation and shell scripting.
2"""
3
4__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
5__cvsid__ = "$Id$"
6__revision__ = "$Revision$"[11:-2]
7
8
9# These are not the real wxPython classes. These are Python versions
10# for documentation purposes. They are also used to apply docstrings
11# to the real wxPython classes, which are SWIG-generated wrappers for
12# C-language classes.
13
14
15class PyAssertionError(AssertionError):
16 """"""
17 pass
18
19
20class PyDeadObjectError(AttributeError):
21 """Instances of wx objects that are OOR capable will have their
22 __class__ attribute changed to a _wxPyDeadObject class when the
23 C++ object is deleted. Subsequent attempts to access object
24 attributes will raise this error, rather than segfault."""
25 pass