At 11:30 AM 11/4/03 -0500, Phillip J. Eby wrote: >'addClassAdvisor(decorator_callable)' which adds a decorator function (in >a PEP 218-style execution order) to those that will be called on the >resulting class. > >IOW, we created a decorator mechanism for classes that is almost identical >to the PEP 218 mechanism for functions, to make it easy to call functions >on a created class, using declarations that occur near the class >statement. This was specifically to make it easier to do simple >decorator-like things, without writing metaclasses, and thus not >interfering with user-supplied metaclasses. Oops. I meant PEP 318, obviously.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4