[Python-ideas] Proposal: Use mypy syntax for function annotations

Chris Angelico rosuav at gmail.com
Mon Aug 25 04:16:12 CEST 2014


On Mon, Aug 25, 2014 at 12:11 PM, Antoine Pitrou <antoine at python.org> wrote:
> No, that's the standard definition of "static" in a certain category of
> languages such as C. Python has "static methods" and they don't happen at
> compile-time: "staticmethod" is a regular callable which is invoked at
> runtime.

"Static method" is a quite different meaning of static - they always
execute at run-time.

https://en.wikipedia.org/wiki/Method_(computer_programming)#Static_methods

ChrisA


More information about the Python-ideas mailing list