summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2015-10-01 13:00:51 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2015-10-01 13:00:53 -0700
commit19605725ec241ad07c3c789d42b28e716a67a514 (patch)
tree28c742ea6fcc8300ce702b4adfa3c9b1b939fb4e /doc
parent24d89500807e6efb0ddcde5baa191e10287001e3 (diff)
downloadoslo-utils-19605725ec241ad07c3c789d42b28e716a67a514.tar.gz
Ensure stopwatch __enter__, __exit__ are in docs
People typically want to know if this can be used as a context manager (it can); so make sure that the generated docs explicitly shows them (vs not showing them, which is the default). Change-Id: I97d512afc79581478a5b7e734108c38635b79f45
Diffstat (limited to 'doc')
-rw-r--r--doc/source/api/timeutils.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/source/api/timeutils.rst b/doc/source/api/timeutils.rst
index ee1f1e2..0b5c72b 100644
--- a/doc/source/api/timeutils.rst
+++ b/doc/source/api/timeutils.rst
@@ -4,3 +4,4 @@
.. automodule:: oslo_utils.timeutils
:members:
+ :special-members: __enter__, __exit__