Skip to content

Commit e2db26a

Browse files
committed
PR feedback on documentation.
- Fix section on `qualname` parameter to link to `type.__qualname__`.
1 parent 80cc3e8 commit e2db26a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ Module contents
434434
of the dataclass is set to that value.
435435
By default, it is set to the module name of the caller.
436436

437-
If *qualname* is defined, the :attr:`!__qualname__` attribute of the dataclass
437+
If *qualname* is defined, the :attr:`~type.__qualname__` attribute of the dataclass
438438
is set to that value. By default, it is set to the value passed to *cls_name*.
439439

440440
The *decorator* parameter is a callable that will be used to create the dataclass.

0 commit comments

Comments
 (0)