convert some comments to docstrings
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 21 Dec 2012 14:01:31 +0000 (15:01 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Fri, 21 Dec 2012 14:01:31 +0000 (15:01 +0100)
Cython/Compiler/Symtab.py

index 690cee5..91e755d 100644 (file)
@@ -355,11 +355,11 @@ class Scope(object):
             return '%d' % count
 
     def global_scope(self):
-        # Return the module-level scope containing this scope.
+        """ Return the module-level scope containing this scope. """
         return self.outer_scope.global_scope()
 
     def builtin_scope(self):
-        # Return the module-level scope containing this scope.
+        """ Return the module-level scope containing this scope. """
         return self.outer_scope.builtin_scope()
 
     def declare(self, name, cname, type, pos, visibility, shadow = 0, is_type = 0):