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
4c6d21a7
Commit
4c6d21a7
authored
Sep 22, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some minor nits about the use of \optional in parameter lists.
parent
ff555e38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/mac/libmacfs.tex
Doc/mac/libmacfs.tex
+4
-4
No files found.
Doc/mac/libmacfs.tex
View file @
4c6d21a7
...
...
@@ -49,7 +49,7 @@ first place (otherwise the \pytype{FSSpec} object for the file itself
is returned).
\end{funcdesc}
\begin{funcdesc}
{
StandardGetFile
}{
\optional
{
type,
...
}}
\begin{funcdesc}
{
StandardGetFile
}{
\optional
{
type,
\moreargs
}}
Present the user with a standard ``open input file''
dialog. Optionally, you can pass up to four 4-character file types to limit
the files the user can choose from. The function returns an
\pytype
{
FSSpec
}
...
...
@@ -57,12 +57,12 @@ object and a flag indicating that the user completed the dialog
without cancelling.
\end{funcdesc}
\begin{funcdesc}
{
PromptGetFile
}{
prompt
\optional
{
, type,
...
}}
\begin{funcdesc}
{
PromptGetFile
}{
prompt
\optional
{
, type,
\moreargs
}}
Similar to
\function
{
StandardGetFile()
}
but allows you to specify a
prompt.
\end{funcdesc}
\begin{funcdesc}
{
StandardPutFile
}{
prompt
,
\optional
{
default
}}
\begin{funcdesc}
{
StandardPutFile
}{
prompt
\optional
{
,
default
}}
Present the user with a standard ``open output file''
dialog.
\var
{
prompt
}
is the prompt string, and the optional
\var
{
default
}
argument initializes the output file name. The function
...
...
@@ -187,7 +187,7 @@ is returned.
An interface to the
\C
{}
routine
\cfunction
{
GetAliasInfo()
}
.
\end{methoddesc}
\begin{methoddesc}
[Alias]
{
Update
}{
file
,
\optional
{
file2
}}
\begin{methoddesc}
[Alias]
{
Update
}{
file
\optional
{
,
file2
}}
Update the alias to point to the
\var
{
file
}
given. If
\var
{
file2
}
is
present a relative alias will be created.
\end{methoddesc}
...
...
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