Skip to content

Commit dc46302

Browse files
committed
docs
1 parent 3306738 commit dc46302

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/how-does-it-work.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ No magic, no meta programming, no expensive introspection at runtime.
3939
Everything until this point happens exactly *once* when the class is defined.
4040
As soon as a class is done, it's done.
4141
And it's just a regular Python class like any other, except for a single `__attrs_attrs__` attribute that *attrs* uses internally.
42-
Much of the information is accessible via {func}`attrs.fields` and other functions which can be used for introspection or for writing your own tools and decorators on top of *attrs* (like {func}`attrs.asdict`).
42+
Much of the information is accessible via {func}`attrs.inspect`, {func}`attrs.fields` and other functions which can be used for introspection or for writing your own tools and decorators on top of *attrs* (like {func}`attrs.asdict`).
4343

4444
And once you start instantiating your classes, *attrs* is out of your way completely.
4545

src/attr/_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def inspect(cls):
389389
strict backwards-compatibility guarantees.
390390
391391
Args:
392-
cls: The class to inspect.
392+
cls: The *attrs*-decorated class to inspect.
393393
394394
Returns:
395395
The effective build parameters of the class.

0 commit comments

Comments
 (0)