src/eric7/DebugClients/Python/coverage/env.py

branch
eric7
changeset 9252
32dd11232e06
parent 9209
b99e7fd55fd3
child 9374
ed79209469ad
--- a/src/eric7/DebugClients/Python/coverage/env.py	Wed Jul 20 16:03:55 2022 +0200
+++ b/src/eric7/DebugClients/Python/coverage/env.py	Wed Jul 20 16:13:29 2022 +0200
@@ -110,6 +110,9 @@
     # Some words are keywords in some places, identifiers in other places.
     soft_keywords = (PYVERSION >= (3, 10))
 
+    # Modules start with a line numbered zero. This means empty modules have
+    # only a 0-number line, which is ignored, giving a truly empty module.
+    empty_is_empty = (PYVERSION >= (3, 11, 0, 'beta', 4))
 
 # Coverage.py specifics.
 

eric ide

mercurial