File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 33
44.. module :: pyperf
55
6- The module version...
7-
86The module version can be read from ``pyperf.VERSION `` (tuple of int) or
97``pyperf.__version__ `` (str).
108
@@ -195,7 +193,7 @@ Benchmark class
195193
196194 Format values including the unit.
197195
198- .. method :: get_dates()
196+ .. method :: get_dates() -> (datetime.datetime, datetime.datetime) or None
199197
200198 Get the start date of the first run and the end date of the last run.
201199
@@ -654,6 +652,10 @@ Runner class
654652
655653 See the :ref: `bench_time_func() example <bench_time_func_example >`.
656654
655+ .. method :: is_worker()
656+
657+ Return True if the current process was started with --worker, and False otherwise.
658+
657659 .. method :: parse_args(args=None)
658660
659661 Parse command line arguments using :attr: `argparser ` and put the result
Original file line number Diff line number Diff line change 2424# Add any Sphinx extension module names here, as strings. They can be
2525# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2626# ones.
27- extensions = [
28- 'sphinx.ext.autodoc' ,
29- 'sphinx.ext.intersphinx' ,
30- ]
31-
32- intersphinx_mapping = {
33- 'python' : ('https://docs.python.org/3' , None ),
34- }
27+ extensions = []
3528
3629# Add any paths that contain templates here, relative to this directory.
3730templates_path = ['templates' ]
You can’t perform that action at this time.
0 commit comments