Skip to content

Commit 4269ba7

Browse files
committed
Fix docs build
1 parent ce4a042 commit 4269ba7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/extending.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Data(a=3, b='spam', c=datetime.datetime(2020, 5, 4, 13, 37))
249249

250250
Or, perhaps you would prefer to generate dataclass-compatible `__init__` signatures via a default field *alias*.
251251
Note, *field_transformer* receives {class}`attrs.Attribute` instances with default aliases already resolved, so the leading-underscore stripping has already been applied.
252-
You can use the {attr}`attrs.Attribute.alias_is_default` flag to detect whether an alias was explicitly provided by the user or auto-generated.
252+
You can use the `attrs.Attribute.alias_is_default` flag to detect whether an alias was explicitly provided by the user or auto-generated.
253253

254254
```{doctest}
255255
>>> def dataclass_names(cls, fields):

0 commit comments

Comments
 (0)