Commit f1afb30f authored by Stefan Behnel's avatar Stefan Behnel

Improve a docstring.

parent 43c1cb2e
......@@ -2778,7 +2778,10 @@ class CreateClosureClasses(CythonTransform):
class InjectGilHandling(VisitorTransform, SkipDeclarations):
"""
Allow certain Python operations inside of GIL blocks by implicitly acquiring the GIL.
Allow certain Python operations inside of nogil blocks by implicitly acquiring the GIL.
Must run before the AnalyseDeclarationsTransform to make sure the GILStatNodes get
set up, parallel sections know that the GIL is acquired inside of them, etc.
"""
def __call__(self, root):
self.nogil = False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment