Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1ecbd679
Commit
1ecbd679
authored
Dec 14, 2003
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF #859811, typo in docs
parent
360cd418
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/mac/libmacos.tex
Doc/mac/libmacos.tex
+1
-1
Doc/mac/libmacui.tex
Doc/mac/libmacui.tex
+2
-2
Doc/mac/scripting.tex
Doc/mac/scripting.tex
+1
-1
Doc/mac/using.tex
Doc/mac/using.tex
+1
-1
No files found.
Doc/mac/libmacos.tex
View file @
1ecbd679
...
...
@@ -153,7 +153,7 @@ The method will return \code{False} if the window manager is not available,
for instance when running on Mac OS X Server or when logged in via ssh,
or when the current interpreter is not running from a fullblown application
bundle. A script runs from an application bundle either when it has been
started with
\program
{
pythonw
}
in
stead of
\program
{
python
}
or when running
started with
\program
{
pythonw
}
instead of
\program
{
python
}
or when running
as an applet.
On Mac OS 9 the method always returns
\code
{
True
}
.
...
...
Doc/mac/libmacui.tex
View file @
1ecbd679
...
...
@@ -135,9 +135,9 @@ selected or \constant{None} if the user cancelled.
of the folder to show initially,
\var
{
location
}
is the
\code
{
(x, y)
}
position on the screen where the
dialog is shown,
\var
{
actionButtonLabel
}
is a string to show in
stead of ``Open'' in the
\var
{
actionButtonLabel
}
is a string to show instead of ``Open'' in the
OK button,
\var
{
cancelButtonLabel
}
is a string to show in
stead of ``Cancel'' in the
\var
{
cancelButtonLabel
}
is a string to show instead of ``Cancel'' in the
cancel button,
\var
{
wanted
}
is the type of value wanted as a return:
\class
{
str
}
,
\class
{
unicode
}
,
\class
{
FSSpec
}
,
\class
{
FSRef
}
and subtypes thereof are
...
...
Doc/mac/scripting.tex
View file @
1ecbd679
...
...
@@ -69,7 +69,7 @@ Python class implementing the verbs also allows access to the properties
and elements declared in the AppleScript class "application". In the
current release that is as far as the object orientation goes, so
in the example above we need to use
\code
{
f.get(f.window(1).name)
}
in
stead of the more Pythonic
\code
{
f.get(f.window(1).name)
}
instead of the more Pythonic
\code
{
f.window(1).name.get()
}
.
...
...
Doc/mac/using.tex
View file @
1ecbd679
...
...
@@ -86,7 +86,7 @@ Preferences menu to change things globally.
There is one Mac OS X quirk that you need to be aware of: programs
that talk to the Aqua window manager (in other words, anything that has a GUI)
need to be run in a special way. Use
\program
{
pythonw
}
in
stead of
\program
{
python
}
need to be run in a special way. Use
\program
{
pythonw
}
instead of
\program
{
python
}
to start such scripts.
\subsection
{
configuration
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment