Language Features

PyAbc

Python stdlib module — abc. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.abstractmethod()Neutral
#
Signature
abstractmethod(funcobj)

A decorator indicating abstract methods.

.get_cache_token()Neutral
#
Signature
get_cache_token()

Returns the current ABC cache token.

.update_abstractmethods()Neutral
#
Signature
update_abstractmethods(cls)

Recalculate the set of abstract methods of an abstract class.

.ABC()Neutral
#
Signature
ABC(...)

Helper class that provides a standard way to create an ABC using

.ABCMeta()Neutral
#
Signature
ABCMeta(...)

Metaclass for defining Abstract Base Classes (ABCs).

.abstractclassmethod()Neutral
#
Signature
abstractclassmethod(...)

A decorator indicating abstract classmethods.

.abstractproperty()Neutral
#
Signature
abstractproperty(...)

A decorator indicating abstract properties.

.abstractstaticmethod()Neutral
#
Signature
abstractstaticmethod(...)

A decorator indicating abstract staticmethods.

Fully-Qualified Names

FQNField
abcfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import abc