git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			26 lines
		
	
	
		
			785 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			785 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""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
 |