custom copy.copy and copy.deepcopy implementations to not confuse autocompletion (just return the first param)
This commit is contained in:
1 parent
8cd7f9a288
commit
cf1fd691da
2 files changed
+35
-6
No files matched your search
@@ -127,3 +127,16 @@ import hashlib
|
||||
|
||||
#? ['md5']
|
||||
hashlib.md5
|
||||
|
||||
# -----------------
|
||||
# copy
|
||||
# -----------------
|
||||
|
||||
import copy
|
||||
a = copy.deepcopy(1)
|
||||
#? int()
|
||||
a
|
||||
|
||||
a = copy.copy()
|
||||
#?
|
||||
a
|
||||
Reference in new issue
Block a user