On 17/06/2018 09:43, Steven D'Aprano wrote:
On Sat, 16 Jun 2018 23:11:41 -0700, Jim Lee wrote:
Python is not like other languages.
Python is not like languages like C, Pascal, Algol, Fortran, D, Java
(unboxed native values only) and those like that.
However, Python *is* like other languages like Javascript, Ruby, Java
(objects only), PHP, and others.
For one thing, there are no
"variables" in Python (in the way you think of them).
Indeed -- there are no variables in Python, if you think of a variable as
meaning a virtual box at a fixed memory address, containing a value, and
associated with a type, like in C or Pascal.
So what's a Type Hint associated with in Python?
--
bart
--
https://mail.python.org/mailman/listinfo/python-list