add a glossary entry for "view"

This commit is contained in:
Benjamin Peterson 2008-11-21 23:22:00 +00:00
parent efae8c499f
commit 656aa28cd5
1 changed files with 7 additions and 0 deletions

View File

@ -498,6 +498,13 @@ Glossary
object has a type. An object's type is accessible as its
:attr:`__class__` attribute or can be retrieved with ``type(obj)``.
view
The objects returned from :meth:`dict.keys`, :meth:`dict.items`, and
:meth:`dict.items` are called dictionary views. They are lazy sequences
that will see changes in the underlying dictionary. To force the
dictionary view to become a full list use ``list(dictview)``. See
:ref:`dict-views`.
virtual machine
A computer defined entirely in software. Python's virtual machine
executes the :term:`bytecode` emitted by the bytecode compiler.