Skip to content

Commit 9e38849

Browse files
committed
docs: Document Record.__contains__
1 parent cd409ef commit 9e38849

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/api/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,11 @@ of values either by a numeric index or by a field name:
299299

300300
.. describe:: r[field]
301301

302-
Return the field of *r* with field name *field*.
302+
Return the field of *r* with field name or index *field*.
303+
304+
.. describe:: name in r
305+
306+
Return ``True`` if record *r* has a field named *name*.
303307

304308
.. describe:: iter(r)
305309

0 commit comments

Comments
 (0)