Guido van Rossum wrote: > Let's make one thing clear; while decorators may be useful for some to > experiment with attaching signatures to methods, mainstream Python > will eventually have optional static typing built in, and it won't use > decorator syntax. (More likely you would specify argument types by > saying e.g. "def bar(low: int, high: int) -> float: ...") that could, of course, be seen as rather strong argument against having decorators after the def but before the colon; let's reserve that space for information about the return type (or types). (more about decorators later) </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4