1
0
forked from VimPlug/jedi

Improve a bit of dataclasses support, so at least the attributes can be seen

see #1213
This commit is contained in:
Dave Halter
2019-07-03 09:20:05 -07:00
parent 4c132d94b9
commit de138e9114
3 changed files with 17 additions and 0 deletions

View File

@@ -599,4 +599,8 @@ _implemented = {
# being used instead. This only matters for 3.7+.
'_alias': lambda obj, arguments: NO_CONTEXTS,
},
'dataclasses': {
# For now this works at least better than Jedi trying to understand it.
'dataclass': lambda obj, arguments: NO_CONTEXTS,
},
}