例如,在这篇名为的文章中,Python是强类型的,因为如果您试图:1 + "1"File "", line 1,TypeError: unsupported operand type(s) for +: 'int' and 'str'
然而,这样的事情在Java和C#中是可能的,而且我们不认为它们仅仅是弱类型</e
似乎没有提供用于创建对生成器的send方法的弱引用的方法:w_send=weakref.ref(g.send) File "<stdin>", line 1, in <module>
File "C:\Users\ricky\AppData\Local\Programs\Python\Python37\lib\weakref.py",