Module exceptions :: Class SyntaxError
[show private | hide private]
[frames | no frames]

Type SyntaxError

   object --+            
            |            
BaseException --+        
                |        
        Exception --+    
                    |    
        StandardError --+
                        |
                       SyntaxError

Known Subclasses:
LxmlSyntaxError

Invalid syntax.
Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __str__(x)
x.__str__() <==> str(x)
    Inherited from BaseException
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __getitem__(x, y)
x.__getitem__(y) <==> x[y]
  __getslice__(x, i, j)
Use of negative indices is not supported.
  __reduce__(...)
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __setstate__(...)
    Inherited from object
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle

Class Variable Summary
member_descriptor filename = <member 'filename' of 'exceptions.SyntaxError...
member_descriptor lineno = <member 'lineno' of 'exceptions.SyntaxError' ob...
member_descriptor message = <member 'message' of 'exceptions.SyntaxError' ...
member_descriptor msg = <member 'msg' of 'exceptions.SyntaxError' objects>
member_descriptor offset = <member 'offset' of 'exceptions.SyntaxError' ob...
member_descriptor print_file_and_line = <member 'print_file_and_line' of '...
member_descriptor text = <member 'text' of 'exceptions.SyntaxError' object...
    Inherited from BaseException
getset_descriptor args = <attribute 'args' of 'exceptions.BaseException' o...

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
exceptions.StandardError.__init__

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
exceptions.StandardError.__new__

__str__(x)
(Informal representation operator)

x.__str__() <==> str(x)
Returns:
str(x)
Overrides:
exceptions.BaseException.__str__

Class Variable Details

filename

Type:
member_descriptor
Value:
<member 'filename' of 'exceptions.SyntaxError' objects>                

lineno

Type:
member_descriptor
Value:
<member 'lineno' of 'exceptions.SyntaxError' objects>                  

message

Type:
member_descriptor
Value:
<member 'message' of 'exceptions.SyntaxError' objects>                 

msg

Type:
member_descriptor
Value:
<member 'msg' of 'exceptions.SyntaxError' objects>                     

offset

Type:
member_descriptor
Value:
<member 'offset' of 'exceptions.SyntaxError' objects>                  

print_file_and_line

Type:
member_descriptor
Value:
<member 'print_file_and_line' of 'exceptions.SyntaxError' objects>     

text

Type:
member_descriptor
Value:
<member 'text' of 'exceptions.SyntaxError' objects>                    

Generated by Epydoc 2.1 on Thu Jul 26 19:14:08 2007 http://epydoc.sf.net