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
9d12ab5c
Commit
9d12ab5c
authored
Aug 31, 2003
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix long option markup.
parent
0970dbab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Doc/lib/libtimeit.tex
Doc/lib/libtimeit.tex
+7
-7
No files found.
Doc/lib/libtimeit.tex
View file @
9d12ab5c
...
...
@@ -96,16 +96,16 @@ python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [statement ...]
where the following options are understood:
\begin{description}
\item
[-n N/
--number=N
]
how many times to execute 'statement'
\item
[-r N/
--repeat=N
]
how many times to repeat the timer (default 3)
\item
[-s S/
--setup=S
]
statement to be executed once initially (default
\item
[-n N/
\longprogramopt{number=N}
]
how many times to execute 'statement'
\item
[-r N/
\longprogramopt{repeat=N}
]
how many times to repeat the timer (default 3)
\item
[-s S/
\longprogramopt{setup=S}
]
statement to be executed once initially (default
\code
{
'pass'
}
)
\item
[-t/
--time
]
use
\function
{
time.time()
}
\item
[-t/
\longprogramopt{time}
]
use
\function
{
time.time()
}
(default on all platforms but Windows)
\item
[-c/
--clock
]
use
\function
{
time.clock()
}
(default on Windows)
\item
[-v/
--verbose
]
print raw timing results; repeat for more digits
\item
[-c/
\longprogramopt{clock}
]
use
\function
{
time.clock()
}
(default on Windows)
\item
[-v/
\longprogramopt{verbose}
]
print raw timing results; repeat for more digits
precision
\item
[-h/
--help
]
print a short usage message and exit
\item
[-h/
\longprogramopt{help}
]
print a short usage message and exit
\end{description}
A multi-line statement may be given by specifying each line as a
...
...
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