mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Rob W. W. Hooft's spelling fixes for the Library Reference. I hope
SourceForge doesn't choke on this batch :-) I'm not entirely sure this is 100% correct. The patch changes an \index{persistency} to \index{presistence}, and I don't know what \index{} does. But it seems to do so persi--er, consistently, so I hope it isn't a problem.
This commit is contained in:
parent
0e19e76aba
commit
f8316638af
61 changed files with 92 additions and 92 deletions
|
@ -8,11 +8,11 @@ This module defines a class that acts as a wrapper around
|
|||
dictionary objects. It is a useful base class for
|
||||
your own dictionary-like classes, which can inherit from
|
||||
them and override existing methods or add new ones. In this way one
|
||||
can add new behaviours to dictionaries.
|
||||
can add new behaviors to dictionaries.
|
||||
|
||||
The \module{UserDict} module defines the \class{UserDict} class:
|
||||
|
||||
\begin{classdesc}{UserDict}{\optional{intialdata}}
|
||||
\begin{classdesc}{UserDict}{\optional{initialdata}}
|
||||
Return a class instance that simulates a dictionary. The instance's
|
||||
contents are kept in a regular dictionary, which is accessible via the
|
||||
\member{data} attribute of \class{UserDict} instances. If
|
||||
|
@ -42,7 +42,7 @@ This module defines a class that acts as a wrapper around
|
|||
list objects. It is a useful base class for
|
||||
your own list-like classes, which can inherit from
|
||||
them and override existing methods or add new ones. In this way one
|
||||
can add new behaviours to lists.
|
||||
can add new behaviors to lists.
|
||||
|
||||
The \module{UserList} module defines the \class{UserList} class:
|
||||
|
||||
|
@ -77,7 +77,7 @@ This module defines a class that acts as a wrapper around
|
|||
string objects. It is a useful base class for
|
||||
your own string-like classes, which can inherit from
|
||||
them and override existing methods or add new ones. In this way one
|
||||
can add new behaviours to strings.
|
||||
can add new behaviors to strings.
|
||||
|
||||
The \module{UserString} module defines the \class{UserString} class:
|
||||
|
||||
|
@ -109,5 +109,5 @@ keys. The main intention of this class is to serve as an educational
|
|||
example for inheritance and necessity to remove (override) the
|
||||
\function{__hash__} method in order to trap attempts to use a
|
||||
mutable object as dictionary key, which would be otherwise very
|
||||
errorprone and hard to track down.
|
||||
error prone and hard to track down.
|
||||
\end{classdesc}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue