mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
SF patch#786531 'the the' typo. Contributed by George Yoshida
This commit is contained in:
parent
f17d65da3a
commit
c7a26562f9
3 changed files with 3 additions and 3 deletions
|
@ -174,7 +174,7 @@ application-wide handler if the window is frontmost.
|
||||||
\begin{methoddesc}[Application]{do_dialogevent}{event}
|
\begin{methoddesc}[Application]{do_dialogevent}{event}
|
||||||
Called early in the event loop to handle modeless dialog events. The
|
Called early in the event loop to handle modeless dialog events. The
|
||||||
default method simply dispatches the event to the relevant dialog (not
|
default method simply dispatches the event to the relevant dialog (not
|
||||||
through the the \code{DialogWindow} object involved). Override if you
|
through the \code{DialogWindow} object involved). Override if you
|
||||||
need special handling of dialog events (keyboard shortcuts, etc).
|
need special handling of dialog events (keyboard shortcuts, etc).
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
|
|
|
@ -435,7 +435,7 @@ class object in the original local namespace.
|
||||||
|
|
||||||
\strong{Programmer's note:} variables defined in the class definition
|
\strong{Programmer's note:} variables defined in the class definition
|
||||||
are class variables; they are shared by all instances. To define
|
are class variables; they are shared by all instances. To define
|
||||||
instance variables, they must be given a value in the the
|
instance variables, they must be given a value in the
|
||||||
\method{__init__()} method or in another method. Both class and
|
\method{__init__()} method or in another method. Both class and
|
||||||
instance variables are accessible through the notation
|
instance variables are accessible through the notation
|
||||||
``\code{self.name}'', and an instance variable hides a class variable
|
``\code{self.name}'', and an instance variable hides a class variable
|
||||||
|
|
|
@ -4485,7 +4485,7 @@ This binds the \kbd{Tab} key to the completion function, so hitting
|
||||||
the \kbd{Tab} key twice suggests completions; it looks at Python
|
the \kbd{Tab} key twice suggests completions; it looks at Python
|
||||||
statement names, the current local variables, and the available module
|
statement names, the current local variables, and the available module
|
||||||
names. For dotted expressions such as \code{string.a}, it will
|
names. For dotted expressions such as \code{string.a}, it will
|
||||||
evaluate the the expression up to the final \character{.} and then
|
evaluate the expression up to the final \character{.} and then
|
||||||
suggest completions from the attributes of the resulting object. Note
|
suggest completions from the attributes of the resulting object. Note
|
||||||
that this may execute application-defined code if an object with a
|
that this may execute application-defined code if an object with a
|
||||||
\method{__getattr__()} method is part of the expression.
|
\method{__getattr__()} method is part of the expression.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue