Module Expr Str ImportFrom alias ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults Call NameLoad body Assign AttributeStore NameLoad attr Call NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str For NameStore NameLoad body If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareNotEq Call NameLoad NameLoad Num CompareLtE SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num CompareLt SubscriptLoad NameLoad Index Num Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return SetComp NameLoad comprehension NameStore NameLoad BoolOpOr CompareIn SubscriptLoad NameLoad Index Num Call NameLoad NameLoad CompareIn SubscriptLoad NameLoad Index Num Call NameLoad NameLoad BoolOpAnd CompareLt SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num CompareGtE SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpAnd NameLoad CompareLtELt NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad body Assign SubscriptStore NameLoad Index Num TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad orelse If BoolOpOr UnaryOpNot NameLoad CompareGt NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore TupleLoad Num Num If BoolOpAnd Call NameLoad NameLoad NameLoad CompareLtELt Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad CompareLtELt Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num CompareEq Call NameLoad NameLoad Num body Assign NameStore NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad BinOpAdd NameLoad Num orelse Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareLt NameLoad SubscriptLoad NameLoad Index Num CompareGt NameLoad SubscriptLoad NameLoad Index Num body AugAssignAdd NameStore BinOpSub BoolOpOr BoolOpAnd CompareLt NameLoad SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad NameLoad Index Num BoolOpOr BoolOpAnd CompareGt NameLoad SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return CompareEq Call AttributeLoad NameLoad attr NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Set Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Set Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Call NameLoad SetComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Call NameLoad SetComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If CompareLt SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareGt SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num For NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Return CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Module that provides range_t class which offers a simple and compact way of representing number sets.
 copy deepcopy range_t N/A N/A N/A 
    Class offers simple representation of multiple ranges as one object.
    Subranges are represented as two element tuples, where first element is a left boundary and second element is a
    right range boundary. The left one is always included, whereas right is always excluded from the range.

    Attributes
    ----------
    __has : set
        Set of subranges.

    Parameters
    ----------
    initset : set, optional
        Initial set of subranges. Empty set is the default value.
     __init__ N/A N/A self initset N/A N/A set N/A N/A N/A self __has N/A set N/A N/A N/A isinstance initset set N/A N/A N/A TypeError Expected set of tuples N/A t initset N/A N/A N/A N/A N/A isinstance t tuple N/A N/A len t 2 N/A N/A t N/A 1 N/A t N/A 0 N/A N/A t N/A 1 0 N/A N/A N/A ValueError Your tuples are wrong :( N/A N/A self __has initset N/A N/A N/A self __optimize N/A __match_l N/A N/A self k _set N/A N/A N/A 
        Method for searching subranges from `_set` that overlap on `k` range.

        Parameters
        ----------
        k : tuple or list or range
            Range for which we search overlapping subranges from `_set`.
        _set : set
            Subranges set.

        Returns
        -------
        matched : set
            Set of subranges from `_set` that overlaps on `k`.
         N/A N/A r N/A r _set N/A N/A N/A k N/A 0 N/A range r N/A N/A k N/A 1 N/A range r N/A N/A N/A k N/A 0 N/A r N/A 0 N/A N/A k N/A 1 N/A r N/A 1 N/A __optimize N/A N/A self N/A N/A N/A 
        Merge overlapping or contacting subranges from ``self.__has`` attribute and update it. Called from all methods
        that modify object contents.

        Returns
        -------
        None
            Method does not return. It does internal modifications on ``self.__has`` attribute.
         N/A ret N/A N/A N/A begin end N/A sorted N/A self __has N/A N/A N/A ret N/A begin N/A N/A ret N/A -1 N/A 1 end N/A N/A N/A ret N/A -1 N/A N/A N/A ret N/A -1 N/A 0 end N/A N/A N/A N/A ret N/A begin N/A N/A ret N/A -1 N/A 1 N/A N/A N/A N/A ret append N/A begin end N/A N/A self __has N/A set ret N/A __val_convert N/A N/A self val N/A N/A N/A 
        Convert input data to a range tuple (start, end).

        Parameters
        ----------
        val : int or tuple or list or range
            Two element indexed object, that represents a range, or integer.

        Returns
        -------
        converted : tuple
            Tuple that represents a range.
         N/A converted N/A 0 0 N/A N/A N/A isinstance val range N/A 0 N/A val start N/A val stop N/A N/A val step 1 N/A N/A converted N/A N/A val start N/A val stop N/A N/A N/A N/A N/A isinstance val tuple N/A isinstance val list N/A 0 N/A val N/A 0 N/A val N/A 1 N/A N/A len val 2 N/A N/A converted val N/A N/A N/A isinstance val int N/A N/A converted N/A val N/A val 1 N/A N/A N/A ValueError Expected indexed positive value of lenght 2, integer or range of step 1 N/A converted N/A contains N/A N/A self val N/A N/A N/A 
        Check if given value or range is present.

        Parameters
        ----------
        val : int or tuple or list or range
            Range or integer being checked.

        Returns
        -------
        retlen : int
            Length of overlapping with `val` subranges.
         N/A N/A start end N/A N/A self __val_convert val N/A retlen 0 N/A r N/A self __has N/A N/A N/A N/A start N/A r N/A 1 N/A end N/A r N/A 0 N/A N/A retlen N/A N/A N/A N/A end N/A r N/A 1 end N/A r N/A 1 N/A N/A N/A start N/A r N/A 0 start N/A r N/A 0 N/A retlen N/A __contains__ N/A N/A self val N/A N/A N/A 
        Method which allows ``in`` operator usage.

        Parameters
        ----------
        val : int or tuple or list or range
            Range or integer being checked.

        Returns
        -------
        bool
            ``True`` if **whole** examined range is present in object. Otherwise ``False``.
         N/A conv N/A N/A self __val_convert val N/A N/A N/A N/A self contains val N/A N/A conv N/A 1 N/A conv N/A 0 N/A match N/A N/A self val N/A N/A N/A 
        Search for overlapping with `val` subranges. In fact, it is a visible wrapper of hidden ``__match_l``.

        Parameters
        ----------
        val : int or tuple or list or range
            Range or integer being checked.

        Returns
        -------
        set
            Set of overlapping subranges.
         N/A conv N/A N/A self __val_convert val N/A N/A N/A self __match_l conv N/A self __has N/A toset N/A N/A self N/A N/A N/A 
        Convert object to a set of subranges.

        Returns
        -------
        set
            ``self.__has`` is returned.
         N/A N/A self __has N/A __add N/A N/A self val N/A N/A N/A 
        Helper method for range addition. It is allowed to add only one compact subrange or ``range_t`` object at once.

        Parameters
        ----------
        val : int or tuple or list or range
            Integer or range to add.

        Returns
        -------
        __has : set
            ``self.__has`` extended by `val`.
         N/A N/A N/A isinstance val range_t N/A N/A val N/A N/A N/A self __val_convert val N/A N/A val N/A N/A val toset N/A __has N/A deepcopy N/A self __has N/A N/A N/A __has update val N/A __has N/A __add__ N/A N/A self val N/A N/A N/A 
        ``a + b`` operation support.

        Parameters
        ----------
        val : int or tuple or list or range
            Integer or range to add.

        Returns
        -------
        range_t
            New ``range_t`` object extended by `val`.
         N/A N/A range_t N/A N/A self __add val N/A __iadd__ N/A N/A self val N/A N/A N/A 
        ``a += b`` operation support. The difference from ``+`` is that no new object is created.

        Parameters
        ----------
        val : int or tuple or list or range
            Integer or range to add.

        Returns
        -------
        self : range_t
            No new object is created, the current one is extended by `val` and returned.
         N/A N/A self __has N/A N/A self __add val N/A N/A N/A self __optimize N/A self N/A __sub__ N/A N/A self val N/A N/A N/A 
        Substracting support.
        
        Parameters
        ----------
        val : int or tuple or list or range
            Integer or range to substract.

        Returns
        -------
        range_t
            New ``range_t`` object bereft of `val`.
         N/A N/A N/A isinstance val range_t N/A N/A val N/A N/A N/A self __val_convert val N/A N/A val N/A N/A val toset N/A __has N/A deepcopy N/A self __has N/A v val N/A N/A common N/A N/A self __match_l v __has N/A N/A common N/A N/A N/A N/A N/A __has difference_update common N/A minmax N/A N/A min N/A N/A l N/A 0 N/A l common N/A max N/A N/A r N/A 1 N/A r common N/A N/A N/A minmax N/A 0 N/A v N/A 0 N/A N/A N/A N/A __has add N/A N/A minmax N/A 0 N/A v N/A 0 N/A N/A N/A minmax N/A 1 N/A v N/A 1 N/A N/A N/A N/A __has add N/A N/A v N/A 1 N/A minmax N/A 1 N/A N/A range_t __has N/A __len__ N/A N/A self N/A N/A N/A 
        Length of object.

        Returns
        -------
        ret : int
            Sum of subranges lengths.
         N/A ret 0 N/A t N/A self __has N/A N/A ret N/A N/A t N/A 1 N/A t N/A 0 N/A ret N/A __eq__ N/A N/A self val N/A N/A N/A 
        ``=`` operator support.

        Parameters
        ----------
        val : range_t
            ``range_t`` object for comparison.

        Returns
        -------
        bool
            ``True`` if set of subranges in this object is identical as in `val` object.
         N/A N/A N/A isinstance val range_t N/A N/A N/A ValueError Expected range_t to compare. N/A N/A N/A self __has N/A N/A val toset N/A N/A