custom copy.copy and copy.deepcopy implementations to not confuse autocompletion (just return the first param)

This commit is contained in:
Dave Halter
2014-06-27 11:49:26 +02:00
parent 8cd7f9a288
commit cf1fd691da
2 changed files with 35 additions and 6 deletions

View File

@@ -127,3 +127,16 @@ import hashlib
#? ['md5']
hashlib.md5
# -----------------
# copy
# -----------------
import copy
a = copy.deepcopy(1)
#? int()
a
a = copy.copy()
#?
a