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
1508970a
Commit
1508970a
authored
Jul 07, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dir() method description revised based on comments from Greg Stein.
parent
17a8b5d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
Doc/lib/libftplib.tex
Doc/lib/libftplib.tex
+7
-6
No files found.
Doc/lib/libftplib.tex
View file @
1508970a
...
...
@@ -208,12 +208,13 @@ non-standard options to the \samp{NLST} command.
\end{methoddesc}
\begin{methoddesc}
{
dir
}{
argument
\optional
{
,
\ldots
}}
Return a directory listing as returned by the
\samp
{
LIST
}
command, as
a list of lines. The optional
\var
{
argument
}
is a directory to list
(default is the current server directory). Multiple arguments can be
used to pass non-standard options to the
\samp
{
LIST
}
command. If the
last argument is a function, it is used as a
\var
{
callback
}
function
as for
\method
{
retrlines()
}
.
Produce a directory listing as returned by the
\samp
{
LIST
}
command,
printing it to standard output. The optional
\var
{
argument
}
is a
directory to list (default is the current server directory). Multiple
arguments can be used to pass non-standard options to the
\samp
{
LIST
}
command. If the last argument is a function, it is used as a
\var
{
callback
}
function as for
\method
{
retrlines()
}
; the default
prints to
\code
{
sys.stdout
}
. This method returns
\code
{
None
}
.
\end{methoddesc}
\begin{methoddesc}
{
rename
}{
fromname, toname
}
...
...
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