class documentation

class ContextRange:

View In Hierarchy

Undocumented

Method __eq__ Undocumented
Method __init__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method __repr__ Undocumented
Method __reversed__ Undocumented
Method __str__ Returns the nicely printable string representation of this instance.
Method format_as_html This method gets an html formatting string representation for this class instance.
Property begin return the first included context (trace.Context)
Property end return the first excluded context (trace.Context) if available, `None` otherwise.
Property last return the last included context (trace.Context)
Method _repr_html_ Representation used by Jupyter Notebook when an instance of this class is displayed in a cell.
Instance Variable _first Undocumented
Instance Variable _last Undocumented
def __eq__(self, other):

Undocumented

Returns
boolUndocumented
def __init__(self, first, last):

Undocumented

Parameters
first:ContextUndocumented
last:ContextUndocumented
def __iter__(self):

Undocumented

Returns
_Iterator[Context]Undocumented
def __len__(self):

Undocumented

Returns
intUndocumented
def __repr__(self):

Undocumented

Returns
strUndocumented
def __reversed__(self):

Undocumented

Returns
BackwardContextRangeUndocumented
def __str__(self):

Returns the nicely printable string representation of this instance.

Returns
strUndocumented
def format_as_html(self):

This method gets an html formatting string representation for this class instance.

Information

Returns
strString
@property
begin: Context =

return the first included context (trace.Context)

@property
end: _Optional[Context] =

return the first excluded context (trace.Context) if available, `None` otherwise.

@property
last: Context =

return the last included context (trace.Context)

def _repr_html_(self):

Representation used by Jupyter Notebook when an instance of this class is displayed in a cell.

Returns
strUndocumented
_first =

Undocumented

_last =

Undocumented