Class Issue`

eryk sun eryksun at gmail.com
Tue Mar 5 20:10:54 EST 2019


On 3/5/19, Kevin Hu <hxy9243 at gmail.com> wrote:
>
> Python is a language with very weak typing, and it’ll happily shoehorn data
> into variables even when you don’t expect it to.

Python has strong typing, in that it doesn't implicitly coerce
unrelated types in expressions. However, it has no enforced static
typing of variables. It relies on runtime type checking and protocols.
The term "duck typing" was coined for this case.



More information about the Python-list mailing list