Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Verb form of lookup
  • Loading branch information
rhettinger committed Nov 6, 2020
commit 8eee012444a375611d028d6c4466cee441badb8f
2 changes: 1 addition & 1 deletion Doc/howto/descriptor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ be recorded, giving each descriptor its own *public_name* and *private_name*::

An interactive session shows that the :class:`Person` class has called
:meth:`__set_name__` so that the field names would be recorded. Here
we call :func:`vars` to lookup the descriptor without triggering it::
we call :func:`vars` to look up the descriptor without triggering it::

>>> vars(vars(Person)['name'])
{'public_name': 'name', 'private_name': '_name'}
Expand Down