mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Improve code comment
This commit is contained in:
@@ -537,10 +537,11 @@ class DataclassDecorator(ValueWrapper, FunctionMixin):
|
||||
|
||||
class DataclassTransformer(ValueWrapper, ClassMixin):
|
||||
"""
|
||||
A class decorated with ``dataclass_transform``. dataclass-like semantics will
|
||||
be assumed for any class that directly or indirectly derives from the
|
||||
decorated class or uses the decorated class as a metaclass. Attributes on
|
||||
the decorated class and its base classes are not considered to be fields.
|
||||
A class decorated with the ``dataclass_transform`` decorator. dataclass-like
|
||||
semantics will be assumed for any class that directly or indirectly derives
|
||||
from the decorated class or uses the decorated class as a metaclass.
|
||||
Attributes on the decorated class and its base classes are not considered to
|
||||
be fields.
|
||||
"""
|
||||
def __init__(self, wrapped_value):
|
||||
super().__init__(wrapped_value)
|
||||
|
||||
Reference in New Issue
Block a user