summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-02-04 12:00:32 -0500
committerNed Batchelder <ned@nedbatchelder.com>2023-02-04 12:00:32 -0500
commit441823f18f705b8a79829cca36142a7f1511477b (patch)
tree73d5ceab054cc911b79e2e31c02504303ead1369 /doc
parent131060464647cd4c96fe8b79936d463847e9c0df (diff)
downloadpython-coveragepy-git-441823f18f705b8a79829cca36142a7f1511477b.tar.gz
fix: two typing tweaks
Diffstat (limited to 'doc')
-rw-r--r--doc/excluding.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/excluding.rst b/doc/excluding.rst
index aa6c6298..315d4e29 100644
--- a/doc/excluding.rst
+++ b/doc/excluding.rst
@@ -95,6 +95,7 @@ For example, here's a list of exclusions I've used::
raise NotImplementedError
if 0:
if __name__ == .__main__.:
+ if TYPE_CHECKING:
class .*\bProtocol\):
@(abc\.)?abstractmethod