Fix some spelling mistakes found by Ezio.

This commit is contained in:
Brett Cannon 2011-04-06 09:38:21 -07:00
parent d9a7640a02
commit e68bd8b5ae
1 changed files with 3 additions and 3 deletions

View File

@ -132,13 +132,13 @@ a class being a ``type`` when implemented in C. The semantics
equivalence requirement also dictates that no public API be provided
in accelerated code that does not exist in the pure Python code.
Without this requirement people could accidentally come to rely on a
detail in the acclerated code which is not made available to other VMs
detail in the accelerated code which is not made available to other VMs
that use the pure Python implementation. To help verify that the
contract of semantic equivalence is being met, a module must be tested
both with and without its accelerated code as thoroughly as possible.
As an example, to write tests which exercise both the pure Python and
C acclerated versions of a module, a basic idiom can be followed::
C accelerated versions of a module, a basic idiom can be followed::
import collections.abc
from test.support import import_fresh_module, run_unittest
@ -168,7 +168,7 @@ C acclerated versions of a module, a basic idiom can be followed::
class AcceleratedExampleTest(ExampleTest):
"""Test using the acclerated code."""
"""Test using the accelerated code."""
heapq = c_heapq