mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-24 09:28:27 +08:00
Improve a bit of dataclasses support, so at least the attributes can be seen
see #1213
This commit is contained in:
@@ -310,11 +310,14 @@ follow_statement(1)
|
||||
# class decorators should just be ignored
|
||||
@should_ignore
|
||||
class A():
|
||||
x = 3
|
||||
def ret(self):
|
||||
return 1
|
||||
|
||||
#? int()
|
||||
A().ret()
|
||||
#? int()
|
||||
A().x
|
||||
|
||||
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user