Commit 92016dcc authored by Raymond Hettinger's avatar Raymond Hettinger

SF 810242. Fix doubled word errors.

parent 0e5a51d9
...@@ -147,7 +147,7 @@ values from C values. ...@@ -147,7 +147,7 @@ values from C values.
Return the module object corresponding to a module name. The Return the module object corresponding to a module name. The
\var{name} argument may be of the form \code{package.module}). \var{name} argument may be of the form \code{package.module}).
First check the modules dictionary if there's one there, and if not, First check the modules dictionary if there's one there, and if not,
create a new one and insert in in the modules dictionary. create a new one and insert it in the modules dictionary.
Return \NULL{} with an exception set on failure. Return \NULL{} with an exception set on failure.
\note{This function does not load or import the module; if the \note{This function does not load or import the module; if the
module wasn't already loaded, you will get an empty module object. module wasn't already loaded, you will get an empty module object.
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
The \module{aetypes} defines classes used to represent Apple Event data The \module{aetypes} defines classes used to represent Apple Event data
descriptors and Apple Event object specifiers. descriptors and Apple Event object specifiers.
Apple Event data is is contained in descriptors, and these descriptors Apple Event data is contained in descriptors, and these descriptors
are typed. For many descriptors the Python representation is simply the are typed. For many descriptors the Python representation is simply the
corresponding Python type: \code{typeText} in OSA is a Python string, corresponding Python type: \code{typeText} in OSA is a Python string,
\code{typeFloat} is a float, etc. For OSA types that have no direct \code{typeFloat} is a float, etc. For OSA types that have no direct
......
...@@ -56,7 +56,7 @@ at the end). ...@@ -56,7 +56,7 @@ at the end).
\begin{funcdesc}{MenuItem}{menu, title\optional{, shortcut, callback}} \begin{funcdesc}{MenuItem}{menu, title\optional{, shortcut, callback}}
Create a menu item object. The arguments are the menu to create, the Create a menu item object. The arguments are the menu to create, the
item item title string and optionally the keyboard shortcut item title string and optionally the keyboard shortcut
and a callback routine. The callback is called with the arguments and a callback routine. The callback is called with the arguments
menu-id, item number within menu (1-based), current front window and menu-id, item number within menu (1-based), current front window and
the event record. the event record.
......
...@@ -1656,7 +1656,7 @@ the key-item pairs. ...@@ -1656,7 +1656,7 @@ the key-item pairs.
The following optional methods can be defined to further emulate sequence The following optional methods can be defined to further emulate sequence
objects. Immutable sequences methods should at most only define objects. Immutable sequences methods should at most only define
\method{__getslice__()}; mutable sequences might define all three \method{__getslice__()}; mutable sequences might define all three
three methods. methods.
\begin{methoddesc}[sequence object]{__getslice__}{self, i, j} \begin{methoddesc}[sequence object]{__getslice__}{self, i, j}
\deprecated{2.0}{Support slice objects as parameters to the \deprecated{2.0}{Support slice objects as parameters to the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment