]>
Commit | Line | Data |
---|---|---|
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 | ||
15 | class PyAssertionError(AssertionError): | |
16 | """""" | |
17 | pass | |
18 | ||
19 | ||
20 | class 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 |