sphinx-toolbox Demo - Autoprotocol

protocol <{{ sig_prename_tag }} class="sig-prename descclassname"> autoprotocol_demo. <{{ sig_prename_tag }} class="sig-name descname"> Frobnicater [source]

typing.Protocol .

This protocol is runtime checkable .

Classes that implement this protocol must have the following methods / attributes:

<{{ sig_prename_tag }} class="sig-name descname"> frobnicate ( something ) [source]
Return type{% if docutils_version >= (0, 18) %} : {% endif %}

Any

protocol <{{ sig_prename_tag }} class="sig-prename descclassname"> autoprotocol_demo. <{{ sig_prename_tag }} class="sig-name descname"> HasLessThan [source]

typing.Protocol for classes that support the < operator.

Classes that implement this protocol must have the following methods / attributes:

<{{ sig_prename_tag }} class="sig-name descname"> __lt__ ( other ) [source]

Return self < other .

Return type{% if docutils_version >= (0, 18) %} : {% endif %}

bool

protocol <{{ sig_prename_tag }} class="sig-prename descclassname"> autoprotocol_demo. <{{ sig_prename_tag }} class="sig-name descname"> HasGreaterThan [source]

typing.Protocol .

Classes that implement this protocol must have the following methods / attributes:

<{{ sig_prename_tag }} class="sig-name descname"> __gt__ ( other ) [source]

Return self > other .

Return type{% if docutils_version >= (0, 18) %} : {% endif %}

bool

protocol <{{ sig_prename_tag }} class="sig-prename descclassname"> autoprotocol_demo. <{{ sig_prename_tag }} class="sig-name descname"> HasGreaterThan [source]

Bases: Protocol

Classes that implement this protocol must have the following methods / attributes:

<{{ sig_prename_tag }} class="sig-name descname"> __gt__ ( other ) [source]

Return self > other .

Return type{% if docutils_version >= (0, 18) %} : {% endif %}

bool

protocol <{{ sig_prename_tag }} class="sig-prename descclassname"> autoprotocol_demo. <{{ sig_prename_tag }} class="sig-name descname"> SupportsAbs [source]

Bases: Protocol [ +T_co ]

An ABC with one abstract method __abs__ that is covariant in its return type.

This protocol is runtime checkable .

Classes that implement this protocol must have the following methods / attributes:

abstract <{{ sig_prename_tag }} class="sig-name descname"> __abs__ ( ) [source]
Return type{% if docutils_version >= (0, 18) %} : {% endif %}

+T_co