Tags: inheritance x
-
231k9How to use super() effectively -- Python 2.7 versionPython / cooperative, inheritance, multiple, next_in_mro, super / by Raymond Hettinger (12 years ago, revision 8)
-
46k7How to use super() effectivelyPython / cooperative, inheritance, multiple, next_in_mro, super / by Raymond Hettinger (12 years ago, revision 8)
-
35k6Find all subclasses of a given classPython / class, extending, inheritance, plugin, subclass, subclasses, type / by Gabriel Genellina (14 years ago, revision 3)
-
31k4Nested contexts -- a chain of mapping objectsPython / ast, chained, compiler, dictionary, inheritance, nested, nonlocal, scopes, xml / by Raymond Hettinger (13 years ago, revision 2)
-
24k2namedtuple.abc - abstract base class + mix-in for named tuplesPython / abc, collections, dry, inheritance, namedtuple, shortcuts / by Jan Kaliszewski (13 years ago, revision 7)
-
20k2Docstring inheritance decoratorPython / decorator, descriptor, docstring, inheritance, metaprogramming / by Shai Berger (14 years ago)
-
11k2Abstract method decoratorPython / abstract, decorator, exception, inheritance, method, python, subclass / by jimmy2times (13 years ago, revision 5)
-
9k1Using Metaclasses and Class Decorators to Inherit Function DocstringsPython / decorator, decorators, docstring, inheritance, metaclass, metaclasses / by Eric Snow (12 years ago, revision 4)
-
9k1Composition of classes instead of multiple inheritancePython / class_decorator, composition, inheritance, multiple_inheritance / by Ethan Furman (13 years ago)
-
8k1Design Pattern -- Inherit from an instancePython / design_pattern, factory_class, inheritance, instance / by Daniel Cohn (14 years ago, revision 4)
-
6k1CLOS-like around/before/after auxiliary methodsPython / auxiliary, class, clos, decorator, inheritance, method, object, super / by Jan Kaliszewski (12 years ago)