|
You are here |
sobolevn.me | ||
| | | | |
chipx86.blog
|
|
| | | | | More than you probably ever wanted to know about Python function signatures and typing shenanigans. And it's just the start. | |
| | | | |
aaronluna.dev
|
|
| | | | | Decorators can be a daunting topic when first encountered. While the Zen of Python states "There should be one- and preferably only one -obvious way to do it", there are many, equally valid ways to implement the same decorator. These different methods can be categorized as either function-based, class-based, or a hybrid of both. In this post I will explain the design and behavior of Python decorators and provide examples of decorators that I frequently use in my own code. | |
| | | | |
bluebones.net
|
|
| | | | | ||
| | | | |
treyhunner.com
|
|
| | | If you're switching between Python 2 and Python 3, you might think that Python 2's xrange objects are pretty much the identical to Python ... | ||