mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
added tests for magic methods
This commit is contained in:
@@ -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