[Python-Dev] Decimal - context manipulation (original) (raw)
Batista, Facundo FBatista at uniFON.com.ar
Wed Apr 21 12:55:50 EDT 2004
- Previous message: [Python-Dev] Re: Decimal data type issues
- Next message: [Python-Dev] peps 329, 266, 267
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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
- Previous message: [Python-Dev] Re: Decimal data type issues
- Next message: [Python-Dev] peps 329, 266, 267
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]