[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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4