Skip to content

Commit 616adf5

Browse files
Update API usage in .has() example. (#1458)
1 parent a296a12 commit 616adf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ Helpers
182182

183183
.. doctest::
184184

185-
>>> @attr.s
185+
>>> @define
186186
... class C:
187187
... pass
188-
>>> attr.has(C)
188+
>>> attrs.has(C)
189189
True
190-
>>> attr.has(object)
190+
>>> attrs.has(object)
191191
False
192192

193193
.. autofunction:: attrs.resolve_types

0 commit comments

Comments
 (0)