Return the module object corresponding to a module name. The
\var{name} argument may be of the form \code{package.module}).
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.
\note{This function does not load or import the module; if the
module wasn't already loaded, you will get an empty module object.
The \module{aetypes} defines classes used to represent Apple Event data
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
corresponding Python type: \code{typeText} in OSA is a Python string,
\code{typeFloat} is a float, etc. For OSA types that have no direct
\begin{funcdesc}{MenuItem}{menu, title\optional{, shortcut, callback}}
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
menu-id, item number within menu (1-based), current front window and
the event record.
The following optional methods can be defined to further emulate sequence
objects. Immutable sequences methods should at most only define
\method{__getslice__()}; mutable sequences might define all three
-three methods.
+methods.
\begin{methoddesc}[sequence object]{__getslice__}{self, i, j}
\deprecated{2.0}{Support slice objects as parameters to the