Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Private Attributes
abc.abstractstaticmethod Class Reference
Inheritance diagram for abc.abstractstaticmethod:
Inheritance graph
[legend]
Collaboration diagram for abc.abstractstaticmethod:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Public Attributes

PyObject_HEAD PyObjectsm_callable

Static Private Attributes

 __isabstractmethod__ = True

Detailed Description

A decorator indicating abstract staticmethods.

Similar to abstractmethod.

Usage:

    class C(metaclass=ABCMeta):
        @abstractstaticmethod
        def my_abstract_staticmethod(...):
            ...

Definition at line 48 of file abc.py.


Constructor & Destructor Documentation

def abc.abstractstaticmethod.__init__ (   self,
  callable 
)

Definition at line 63 of file abc.py.

00063 
00064     def __init__(self, callable):
00065         callable.__isabstractmethod__ = True
00066         super().__init__(callable)
00067 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 61 of file abc.py.

Definition at line 871 of file funcobject.c.


The documentation for this class was generated from the following file: