• Home
  • Raw
  • Download

Lines Matching refs:abstract

15 This module provides the infrastructure for defining :term:`abstract base
16 classes <abstract base class>` (ABCs) in Python, as outlined in :pep:`3119`;
33 an abstract base class can be created by simply deriving from :class:`ABC`
44 One may also define an abstract base class by passing the metaclass
92 You can also override this method in an abstract base class:
144 :meth:`~iterator.__iter__`, as an abstract method. The implementation given
146 is also part of the ``MyIterable`` abstract base class, but it does not have
147 to be overridden in non-abstract derived classes.
167 A decorator indicating abstract methods.
171 :class:`ABCMeta` cannot be instantiated unless all of its abstract methods
172 and properties are overridden. The abstract methods can be called using any
174 to declare abstract methods for properties and descriptors.
176 Dynamically adding abstract methods to a class, or attempting to modify the
216 In order to correctly interoperate with the abstract base class machinery,
217 the descriptor must identify itself as abstract using
219 if any of the methods used to compose the descriptor are abstract. For
231 Unlike Java abstract methods, these abstract
248 A subclass of the built-in :func:`classmethod`, indicating an abstract
252 is now correctly identified as abstract when applied to an abstract
269 A subclass of the built-in :func:`staticmethod`, indicating an abstract
273 is now correctly identified as abstract when applied to an abstract
290 A subclass of the built-in :func:`property`, indicating an abstract
294 is now correctly identified as abstract when applied to an abstract
304 read-write abstract property by appropriately marking one or more of the
305 underlying methods as abstract::
317 If only some components are abstract, only those components need to be
330 Returns the current abstract base class cache token.
333 the current version of the abstract base class cache for virtual subclasses.