Skip to main content
1 vote

Wrapper Auxiliary Method VS Default Arguments for Initialization: Pros/Cons

Consider using decorators. The original motivation for including decorators in the language is described in PEP-318. An example below using a decorator to remember whether a method on an instance ...
Ben Cottrell's user avatar
  • 11.9k

Only top scored, non community-wiki answers of a minimum length are eligible