summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coverage/plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py
index db7ca0a..415246a 100644
--- a/coverage/plugin.py
+++ b/coverage/plugin.py
@@ -134,7 +134,8 @@ class CoveragePlugin(object):
This will only be invoked if `filename` returns non-None from
:meth:`file_tracer`. It's an error to return None from this method.
- Returns a :class:`FileReporter` object to use to report on `filename`.
+ Returns a :class:`FileReporter` object to use to report on `filename`,
+ or the string `"python"` to have coverage.py treat the file as Python.
"""
_needs_to_implement(self, "file_reporter")