Commit ebc9b746 authored by Stefan Behnel's avatar Stefan Behnel Committed by GitHub

Merge pull request #2832 from luzpaz/misc-typos

Misc. typo fixes
parents c2be000c 7ee11ce7
...@@ -2110,7 +2110,7 @@ class NameNode(AtomicExprNode): ...@@ -2110,7 +2110,7 @@ class NameNode(AtomicExprNode):
def may_be_none(self): def may_be_none(self):
if self.cf_state and self.type and (self.type.is_pyobject or if self.cf_state and self.type and (self.type.is_pyobject or
self.type.is_memoryviewslice): self.type.is_memoryviewslice):
# gard against infinite recursion on self-dependencies # guard against infinite recursion on self-dependencies
if getattr(self, '_none_checking', False): if getattr(self, '_none_checking', False):
# self-dependency - either this node receives a None # self-dependency - either this node receives a None
# value from *another* node, or it can not reference # value from *another* node, or it can not reference
......
...@@ -16,7 +16,7 @@ features for managing it. ...@@ -16,7 +16,7 @@ features for managing it.
Finally, don't hesitate to ask questions (or post reports on Finally, don't hesitate to ask questions (or post reports on
successes!) on the Cython users mailing list [UserList]_. The Cython successes!) on the Cython users mailing list [UserList]_. The Cython
developer mailing list, [DevList]_, is also open to everybody, but developer mailing list, [DevList]_, is also open to everybody, but
focusses on core development issues. Feel free to use it to report a focuses on core development issues. Feel free to use it to report a
clear bug, to ask for guidance if you have time to spare to develop clear bug, to ask for guidance if you have time to spare to develop
Cython, or if you have suggestions for future development. Cython, or if you have suggestions for future development.
......
...@@ -504,7 +504,7 @@ It is quite common to want to instantiate an extension class from an existing ...@@ -504,7 +504,7 @@ It is quite common to want to instantiate an extension class from an existing
(pointer to a) data structure, often as returned by external C/C++ functions. (pointer to a) data structure, often as returned by external C/C++ functions.
As extension classes can only accept Python objects as arguments in their As extension classes can only accept Python objects as arguments in their
contructors, this necessitates the use of factory functions. For example, :: constructors, this necessitates the use of factory functions. For example, ::
from libc.stdlib cimport malloc, free from libc.stdlib cimport malloc, free
......
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