Package transf :: Module context :: Class Name
[frames] | no frames]

Class Name




Variable name.

This class is a string with singleton properties, i.e., it has an unique hash, and it is equal to no object other than itself. Instances of this class can be used in replacement of regular string to ensure no name collisions will ocurr, effectivly providing means to anonymous variables.

Instance Methods
 
__hash__(self)
hash(x)
 
__eq__(self, other)
x==y
 
__ne__(self, other)
x!=y

Inherited from str: __add__, __contains__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __le__, __len__, __lt__, __mod__, __mul__, __new__, __repr__, __rmod__, __rmul__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, index, isalnum, isalpha, isdigit, islower, isspace, istitle, isupper, join, ljust, lower, lstrip, replace, rfind, rindex, rjust, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__

Properties

Inherited from object: __class__

Method Details

__hash__(self)
(Hashing function)

 
hash(x)
Overrides: str.__hash__
(inherited documentation)

__eq__(self, other)
(Equality operator)

 
x==y
Overrides: str.__eq__
(inherited documentation)

__ne__(self, other)

 
x!=y
Overrides: str.__ne__
(inherited documentation)