Online Book Reader

Home Category

Learning Python - Mark Lutz [621]

By Root 1894 0
Adding Methods to Classes, Managing instances instead of classes, Manual Augmentation, Metaclass-Based Augmentation, Metaclasses Versus Class Decorators: Round 2, Managing instances instead of classes, Decorator-based augmentation, Managing instances instead of classes, Example: Applying Decorators to Methods, Metaclasses Versus Class Decorators: Round 3, Tracing with Decoration Manually, Tracing with Metaclasses and Decorators, Applying Any Decorator to Methods, Metaclasses Versus Class Decorators: Round 3

(see also metaclass model)

adding methods to classes example, Example: Adding Methods to Classes, Managing instances instead of classes, Manual Augmentation, Metaclass-Based Augmentation

manual augmentation, Manual Augmentation

metaclass-based augmentation, Metaclass-Based Augmentation

applying decorators to methods example, Example: Applying Decorators to Methods, Metaclasses Versus Class Decorators: Round 3, Tracing with Decoration Manually, Tracing with Metaclasses and Decorators, Applying Any Decorator to Methods

manual tracing, Tracing with Decoration Manually

tracing with metaclasses and decorators, Tracing with Metaclasses and Decorators

with any decorators, Applying Any Decorator to Methods

class decorators, compared to, Metaclasses Versus Class Decorators: Round 2, Managing instances instead of classes, Decorator-based augmentation, Managing instances instead of classes, Metaclasses Versus Class Decorators: Round 3

decorator-based augmentation, Decorator-based augmentation

managing instances instead of classes, Managing instances instead of classes

class decorators, compared with, Metaclasses Versus Class Decorators: Round 1

coding, Coding Metaclasses, Instances Versus Inheritance, A Basic Metaclass, Customizing Construction and Initialization, Using simple factory functions, Overloading class creation calls with metaclasses, Overloading class creation calls with normal classes, Instances Versus Inheritance

basic metaclass, A Basic Metaclass

customizing construction and initialization, Customizing Construction and Initialization

factory functions, using, Using simple factory functions

instances versus inheritance, Instances Versus Inheritance

overloading class creation calls with classes, Overloading class creation calls with normal classes

overloading class creation calls with metaclasses, Overloading class creation calls with metaclasses

declaration, Declaring Metaclasses

issues around use, To Metaclass or Not to Metaclass

potential roles, To Metaclass or Not to Metaclass

metafunctions, Function Decorator Basics

metaprograms, Modules Are Objects: Metaprograms, Modules Are Objects: Metaprograms

method call expression, String Methods

methods, Type-Specific Methods, Getting Help, List method calls, The World’s Simplest Python Class, Coding Methods, Coding Methods, Augmenting Methods: The Bad Way, Methods, Other Method Call Possibilities, Method Example, Method Example, Other Method Call Possibilities, Calling Superclass Constructors, Other Method Call Possibilities, Other Method Call Possibilities, Function Interfaces and Callback-Based Code, Comparisons: __lt__, __gt__, and Others, Object Destruction: __del__, Methods Are Objects: Bound or Unbound, Bound Methods and Other Callable Objects, Static and Class Methods

augmenting methods, Augmenting Methods: The Bad Way

bound and unbound methods, Methods Are Objects: Bound or Unbound, Bound Methods and Other Callable Objects

bound methods, Function Interfaces and Callback-Based Code

calls to methods, Method Example, Other Method Call Possibilities

class methods, Other Method Call Possibilities

coding methods, Coding Methods

comparison methods, Comparisons: __lt__, __gt__, and Others

destructor method, Object Destruction: __del__

example, Method Example

static methods, Other Method Call Possibilities, Static and Class Methods

(see also static methods)

superclass constructors, calling, Calling Superclass Constructors

min and max functions, Other Built-in Numeric Tools

mins.py, Full Credit

mix-in classes, Multiple

Return Main Page Previous Page Next Page

®Online Book Reader