|
You are here |
blog.separateconcerns.com | ||
| | | | |
nagekar.com
|
|
| | | | | ||
| | | | |
adamj.eu
|
|
| | | | | In a type hint, if we specify a type (class), then we mark the variable as containing an instance of that type. To specify that a variable instead contains a type, we need to use type[Cls] (or the old syntax typing.Type). | |
| | | | |
www.pmatiello.me
|
|
| | | | | Implementing interface contracts in Python with class decorators | |
| | | | |
akaptur.github.com
|
|
| | | Nick Coghlan added another interesting note in response to my last post about creating side-effecting assignments in python. Here's Nick: @ ... | ||