mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 20:17:06 +08:00
added tests for magic methods
This commit is contained in:
1 parent
9a53defeec
commit
a7c806e96f
1 file changed
+12
@@ -195,3 +195,15 @@ def a():
|
|||||||
global_define
|
global_define
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# -----------------
|
||||||
|
# magic methods
|
||||||
|
# -----------------
|
||||||
|
|
||||||
|
class A(object): pass
|
||||||
|
class B(): pass
|
||||||
|
|
||||||
|
#? ['__init__']
|
||||||
|
A.__init__
|
||||||
|
#? ['__init__']
|
||||||
|
B.__init__
|
||||||
Reference in new issue
Block a user