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
0568d5e9
Commit
0568d5e9
authored
Oct 08, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apply() third arg
parent
e38a752d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+4
-1
Doc/libfuncs.tex
Doc/libfuncs.tex
+4
-1
No files found.
Doc/lib/libfuncs.tex
View file @
0568d5e9
...
...
@@ -10,7 +10,7 @@ are always available. They are listed here in alphabetical order.
or long integer or a floating point number.
\end{funcdesc}
\begin{funcdesc}
{
apply
}{
function
\,
args
}
\begin{funcdesc}
{
apply
}{
function
\,
args
\optional
{
, keywords
}
}
The
\var
{
function
}
argument must be a callable object (a user-defined or
built-in function or method, or a class object) and the
\var
{
args
}
argument must be a tuple. The
\var
{
function
}
is called with
...
...
@@ -18,6 +18,9 @@ argument must be a tuple. The \var{function} is called with
of the tuple. (This is different from just calling
\code
{
\var
{
func
}
(
\var
{
args
}
)
}
, since in that case there is always
exactly one argument.)
If the optional
\var
{
keywords
}
argument is present, it must be a
dictionary whose keys are strings. It specifies keyword arguments to
be added to the end of the the argument list.
\end{funcdesc}
\begin{funcdesc}
{
chr
}{
i
}
...
...
Doc/libfuncs.tex
View file @
0568d5e9
...
...
@@ -10,7 +10,7 @@ are always available. They are listed here in alphabetical order.
or long integer or a floating point number.
\end{funcdesc}
\begin{funcdesc}
{
apply
}{
function
\,
args
}
\begin{funcdesc}
{
apply
}{
function
\,
args
\optional
{
, keywords
}
}
The
\var
{
function
}
argument must be a callable object (a user-defined or
built-in function or method, or a class object) and the
\var
{
args
}
argument must be a tuple. The
\var
{
function
}
is called with
...
...
@@ -18,6 +18,9 @@ argument must be a tuple. The \var{function} is called with
of the tuple. (This is different from just calling
\code
{
\var
{
func
}
(
\var
{
args
}
)
}
, since in that case there is always
exactly one argument.)
If the optional
\var
{
keywords
}
argument is present, it must be a
dictionary whose keys are strings. It specifies keyword arguments to
be added to the end of the the argument list.
\end{funcdesc}
\begin{funcdesc}
{
chr
}{
i
}
...
...
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