mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
custom copy.copy and copy.deepcopy implementations to not confuse autocompletion (just return the first param)
This commit is contained in:
@@ -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