Package schrodinger :: Module surface :: Class StrEnum
[hide private]
[frames] | no frames]

Class StrEnum

                             object --+        
                                      |        
                             basestring --+    
                                          |    
                                        str --+
                                              |
EnumMeta('Enum', (object,), temp_enum_dict) --+
                                              |
                                             StrEnum

An enum class where all values are strings. All enum objects stringify to their value.

Instance Methods [hide private]
 
__str__(self)
str(x)

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

Inherited from str (private): _formatter_field_name_split, _formatter_parser

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)