summaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Compiler/CythonScope.py
diff options
context:
space:
mode:
authorAleksandr <[email protected]>2022-02-10 16:47:52 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:52 +0300
commitea6c5b7f172becca389cacaff7d5f45f6adccbe6 (patch)
treed16cef493ac1e092b4a03ab9437ec06ffe3d188f /contrib/tools/cython/Cython/Compiler/CythonScope.py
parent37de222addabbef336dcaaea5f7c7645a629fc6d (diff)
Restoring authorship annotation for Aleksandr <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Compiler/CythonScope.py')
-rw-r--r--contrib/tools/cython/Cython/Compiler/CythonScope.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tools/cython/Cython/Compiler/CythonScope.py b/contrib/tools/cython/Cython/Compiler/CythonScope.py
index 1c25d1a6b4c..09f2bb3cfe5 100644
--- a/contrib/tools/cython/Cython/Compiler/CythonScope.py
+++ b/contrib/tools/cython/Cython/Compiler/CythonScope.py
@@ -26,10 +26,10 @@ class CythonScope(ModuleScope):
cname='<error>')
entry.in_cinclude = True
- def is_cpp(self):
- # Allow C++ utility code in C++ contexts.
- return self.context.cpp
-
+ def is_cpp(self):
+ # Allow C++ utility code in C++ contexts.
+ return self.context.cpp
+
def lookup_type(self, name):
# This function should go away when types are all first-level objects.
type = parse_basic_type(name)