Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Arbitrary attributes on funcs and methods

Fredrik LundhFredrik Lundh" <effbot@telia.com
Wed, 12 Apr 2000 19:42:24 +0200


Moshe Zadka wrote:> > To pollute this discussion with an example from another one:> >=20> >     i =3D 3.1416> >     i.__precision__ =3D 4>=20> And voila! Numbers are no longer immutable. Using any> numbers as keys in dicts?so?  you can use methods as keys today, you know...</F>


[8]ページ先頭

©2009-2025 Movatter.jp