mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Hyphenate 'one-argument'
This commit is contained in:
parent
1cae3f57e7
commit
07b28b920e
1 changed files with 2 additions and 2 deletions
|
|
@ -647,7 +647,7 @@ class C:
|
||||||
non-empty sequence (such as a string, tuple or list). With more
|
non-empty sequence (such as a string, tuple or list). With more
|
||||||
than one argument, return the largest of the arguments.
|
than one argument, return the largest of the arguments.
|
||||||
|
|
||||||
The optional \var{key} argument specifies a one argument ordering
|
The optional \var{key} argument specifies a one-argument ordering
|
||||||
function like that used for \method{list.sort()}. The \var{key}
|
function like that used for \method{list.sort()}. The \var{key}
|
||||||
argument, if supplied, must be in keyword form (for example,
|
argument, if supplied, must be in keyword form (for example,
|
||||||
\samp{max(a,b,c,key=func)}).
|
\samp{max(a,b,c,key=func)}).
|
||||||
|
|
@ -659,7 +659,7 @@ class C:
|
||||||
non-empty sequence (such as a string, tuple or list). With more
|
non-empty sequence (such as a string, tuple or list). With more
|
||||||
than one argument, return the smallest of the arguments.
|
than one argument, return the smallest of the arguments.
|
||||||
|
|
||||||
The optional \var{key} argument specifies a one argument ordering
|
The optional \var{key} argument specifies a one-argument ordering
|
||||||
function like that used for \method{list.sort()}. The \var{key}
|
function like that used for \method{list.sort()}. The \var{key}
|
||||||
argument, if supplied, must be in keyword form (for example,
|
argument, if supplied, must be in keyword form (for example,
|
||||||
\samp{min(a,b,c,key=func)}).
|
\samp{min(a,b,c,key=func)}).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue