Commit fb8a24cb authored by Stefan Behnel's avatar Stefan Behnel

remove Pyrex references in comments

parent 237050b4
# #
# Pyrex - Builtin Definitions # Builtin Definitions
# #
from Symtab import BuiltinScope, StructOrUnionScope from Symtab import BuiltinScope, StructOrUnionScope
......
# cython: language_level = 3, py2_import=True # cython: language_level = 3, py2_import=True
# #
# Pyrex - Code output module # Code output module
# #
import cython import cython
......
# #
# Pyrex - Errors # Errors
# #
import sys import sys
......
# #
# Pyrex - Parse tree nodes for expressions # Parse tree nodes for expressions
# #
import cython import cython
......
# #
# Pyrex - Module parse tree node # Module parse tree node
# #
import cython import cython
......
# #
# Pyrex - C naming conventions # C naming conventions
# #
# #
# Prefixes for generating C names. # Prefixes for generating C names.
......
# #
# Pyrex - Parse tree nodes # Parse tree nodes
# #
import cython import cython
cython.declare(sys=object, os=object, time=object, copy=object, cython.declare(sys=object, os=object, time=object, copy=object,
Builtin=object, error=object, warning=object, Naming=object, PyrexTypes=object, Builtin=object, error=object, warning=object, Naming=object, PyrexTypes=object,
...@@ -415,7 +415,7 @@ class CDeclaratorNode(Node): ...@@ -415,7 +415,7 @@ class CDeclaratorNode(Node):
class CNameDeclaratorNode(CDeclaratorNode): class CNameDeclaratorNode(CDeclaratorNode):
# name string The Pyrex name being declared # name string The Cython name being declared
# cname string or None C name, if specified # cname string or None C name, if specified
# default ExprNode or None the value assigned on declaration # default ExprNode or None the value assigned on declaration
......
# cython: auto_cpdef=True, infer_types=True, language_level=3, py2_import=True # cython: auto_cpdef=True, infer_types=True, language_level=3, py2_import=True
# #
# Pyrex Parser # Parser
# #
# This should be done automatically # This should be done automatically
......
# #
# Pyrex - Types # Cython/Python language types
# #
from Code import UtilityCode from Code import UtilityCode
...@@ -10,7 +10,7 @@ from Errors import error ...@@ -10,7 +10,7 @@ from Errors import error
class BaseType(object): class BaseType(object):
# #
# Base class for all Pyrex types including pseudo-types. # Base class for all Cython types including pseudo-types.
def can_coerce_to_pyobject(self, env): def can_coerce_to_pyobject(self, env):
return False return False
...@@ -35,7 +35,7 @@ class BaseType(object): ...@@ -35,7 +35,7 @@ class BaseType(object):
class PyrexType(BaseType): class PyrexType(BaseType):
# #
# Base class for all Pyrex types. # Base class for all Cython types
# #
# is_pyobject boolean Is a Python object type # is_pyobject boolean Is a Python object type
# is_extension_type boolean Is a Python extension type # is_extension_type boolean Is a Python extension type
...@@ -72,7 +72,7 @@ class PyrexType(BaseType): ...@@ -72,7 +72,7 @@ class PyrexType(BaseType):
# 'DL_IMPORT', and will be added to the base type part of # 'DL_IMPORT', and will be added to the base type part of
# the declaration. # the declaration.
# * If pyrex = 1, this is for use in a 'cdef extern' # * If pyrex = 1, this is for use in a 'cdef extern'
# statement of a Pyrex include file. # statement of a Cython include file.
# #
# assignable_from(src_type) # assignable_from(src_type)
# Tests whether a variable of this type can be # Tests whether a variable of this type can be
......
...@@ -1577,7 +1577,7 @@ class ClassScope(Scope): ...@@ -1577,7 +1577,7 @@ class ClassScope(Scope):
# Abstract base class for namespace of # Abstract base class for namespace of
# Python class or extension type. # Python class or extension type.
# #
# class_name string Pyrex name of the class # class_name string Python name of the class
# scope_prefix string Additional prefix for names # scope_prefix string Additional prefix for names
# declared in the class # declared in the class
# doc string or None Doc string # doc string or None Doc string
......
# #
# Pyrex - Tables describing slots in the type object # Tables describing slots in the CPython type object
# and associated know-how. # and associated know-how.
# #
import Naming import Naming
......
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