Module protocols

Import path

semmle.python.protocols

Imports

Predicates

is_collection

Retained for backwards compatibility use ClassObject.isCollection() instead.

is_context_manager

Retained for backwards compatibility use ClassObject.isContextManager() instead.

is_iterable

Retained for backwards compatibility use ClassObject.isIterable() instead.

is_iterator

Retained for backwards compatibility use ClassObject.isIterator() instead.

is_mapping

Retained for backwards compatibility use ClassObject.isMapping() instead.

is_sequence

Retained for backwards compatibility use ClassObject.isSequence() instead.