RE: [Python-Dev] Decimal - context manipulation
21 Apr
2004
21 Apr
'04
9:55 a.m.
[Tim Peters] #- Note that __copy__ is a special name, and the standard #- copy.copy(thing) #- automatically invokes thing.__copy__() if thing has a #- __copy__() method. #- The "copy = __copy__" line then supplies that method #- directly to class users #- too under a conventional name. So, after the above, #- copy.copy(thing) and #- thing.copy() both work. I'm +1 on introducing this behaviour to Context. . Facundo
7307
Age (days ago)
7307
Last active (days ago)
0 comments
1 participants
participants (1)
-
Batista, Facundo