mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-23 12:22:04 +08:00
Refactor the ClassName to allow inheritance in different modules. Fixes #884.
This commit is contained in:
@@ -493,3 +493,19 @@ B().a
|
||||
B.b
|
||||
#? int()
|
||||
B().b
|
||||
|
||||
|
||||
# -----------------
|
||||
# With import
|
||||
# -----------------
|
||||
|
||||
from import_tree.classes import Config2, BaseClass
|
||||
|
||||
class Config(BaseClass):
|
||||
"""#884"""
|
||||
|
||||
#? Config2()
|
||||
Config.mode
|
||||
|
||||
#? int()
|
||||
Config.mode2
|
||||
|
||||
Reference in New Issue
Block a user