Package xmlschema_acue :: Module codepoints :: Class UnicodeSubset

Class UnicodeSubset

source code


Represent a subset of Unicode code points, implemented with an ordered list of integer values and ranges. It manages character ranges for adding or for discarding elements from a string and for a compressed representation.

Instance Methods
 
__init__(self, *args, **kwargs) source code
 
__repr__(self) source code
 
__unicode__(self) source code
 
__str__(self) source code
 
copy(self) source code
 
__copy__(self) source code
 
__reversed__(self) source code
 
complement(self) source code
 
iter_characters(self) source code
 
__contains__(self, value) source code
 
__iter__(self) source code
 
__len__(self) source code
 
update(self, *others) source code
 
add(self, value) source code
 
difference_update(self, *others) source code
 
discard(self, value) source code
 
clear(self) source code
 
__eq__(self, other) source code
 
__ior__(self, other) source code
 
__isub__(self, other) source code
 
__sub__(self, other) source code
 
__rsub__(self, other) source code
 
__iand__(self, other) source code
 
__ixor__(self, other) source code
Class Methods
 
fromlist(cls, code_points) source code
Method Details

code_points(self)

source code 
Decorators:
  • @property