From 19605725ec241ad07c3c789d42b28e716a67a514 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Thu, 1 Oct 2015 13:00:51 -0700 Subject: [PATCH] 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 --- doc/source/api/timeutils.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/api/timeutils.rst b/doc/source/api/timeutils.rst index ee1f1e21..0b5c72bd 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__