mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
add a glossary entry for "view"
This commit is contained in:
parent
efae8c499f
commit
656aa28cd5
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue