Object#
- class Object(*args, **kwargs)[source]#
- Bases: - Sequence- Abstract base class for syntactical objects. - An - Objectconsists of a tuple of arguments- argstogether with a dictionary of annotations- annotations.- Parameters:
- args – Arguments 
- kwargs – Annotations. 
 
- Returns:
 
Testing and checking#
| 
 | Tests whether arg is an instance of this class. | 
| 
 | Checks whether arg is an instance of this class. | 
See more object methods for variants of the above.
Unfolding and unpacking#
| 
 | Unfolds arg's arguments. | 
| 
 | Unfolds arg's arguments (unsafe version). | 
| 
 | Unpacks arg's arguments. | 
| 
 | Unpacks arg's arguments (unsafe version). | 
See more object methods for variants of the above.
Arguments and annotations#
| Object arguments. | |
| Gets object arguments. | |
| Object annotations. | |
| Gets object annotations. | 
Comparison#
| 
 | Compares object to other. | 
| 
 | Tests whether object is equal to other. | 
| 
 | Tests whether object is deep-equal to other. | 
Copying#
| 
 | Makes a shallow copy of object. | 
| 
 | Shallow-copies object overwriting its arguments. | 
| 
 | Shallow-copies object overwriting its annotations. | 
| Makes a deep copy of object. | 
Debugging#
| Object hexadecimal digest. | |
| Gets object hexadecimal digest. | |
| Gets a raw string representation of object. |