Book description
Build your knowledge of Python, the world’s favorite programming language, with this Shortcuts collection. These recipes address a range of well-known and more advanced function definitions, as well as common programming patterns for class and object definitions.
Table of contents
Product information
- Title: Replacing Single Method Classes with Functions
- Author(s):
- Release date: May 2024
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098171636
You might also like
article
Returning Multiple Values from a Function
Build your knowledge of Python, the world's favorite programming language, with this Shortcuts collection. These recipes …
article
Changing the String Representation of Instances
Build your knowledge of Python, the world's favorite programming language, with this Shortcuts collection. These recipes …
article
Defining Functions with Default Arguments
Build your knowledge of Python, the world's favorite programming language, with this Shortcuts collection. These recipes …
article
Capturing Variables in Anonymous Functions
Build your knowledge of Python, the worldâ??s favorite programming language, with this Shortcuts collection. These recipes …