/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

adamj.eu
| | bfontaine.net
2.7 parsecs away

Travel
| | Tips and tricks in Python, Bash, Clojure and other languages/environments.
| | blog.meadsteve.dev
2.4 parsecs away

Travel
| | Why I would default to choosing sequence over list when adding types to a function
| | blog.derlin.ch
2.0 parsecs away

Travel
| | PEP 563 is activated as soon as you import future annotations. This turns annotations to strings, changing the way we read type information at runtime.
| | yasoob.me
30.6 parsecs away

Travel
| Hi there fellas. This is an answer posted on stackoverflow by e-satis. The original link to the answer is given at the end. No credit goes to me. All of the credit goes to the original author. This answer is posted just because most of us are unaware of how decorators work in python and this answer solves that problem beautifully. Python's functions are objects To understand decorators, you must first understand that functions are objects in Python.