diff options
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py index 03e36324..a8e9d15c 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -60,7 +60,13 @@ class Coverage(object): @classmethod def current(cls): - """Get the latest started `Coverage` instance, if any.""" + """Get the latest started `Coverage` instance, if any. + + Returns: a `Coverage` instance, or None. + + .. versionadded:: 5.0 + + """ if cls._instances: return cls._instances[-1] else: |