forked from VimPlug/jedi
Merge pull request #1935 from PeterJCLaw/fix-attrs-as-dataclass
Teach Jedi that `attrs`' `frozen` decorator also acts like a dataclass
This commit is contained in:
@@ -808,9 +808,11 @@ _implemented = {
|
|||||||
# https://www.attrs.org/en/stable/names.html
|
# https://www.attrs.org/en/stable/names.html
|
||||||
'attr': {
|
'attr': {
|
||||||
'define': _dataclass,
|
'define': _dataclass,
|
||||||
|
'frozen': _dataclass,
|
||||||
},
|
},
|
||||||
'attrs': {
|
'attrs': {
|
||||||
'define': _dataclass,
|
'define': _dataclass,
|
||||||
|
'frozen': _dataclass,
|
||||||
},
|
},
|
||||||
'os.path': {
|
'os.path': {
|
||||||
'dirname': _create_string_input_function(os.path.dirname),
|
'dirname': _create_string_input_function(os.path.dirname),
|
||||||
|
|||||||
Reference in New Issue
Block a user