From: Georg Brandl Date: Fri, 26 Sep 2008 21:15:21 +0000 (+0000) Subject: typos. X-Git-Tag: v2.6~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da84d21a0c5fdd1da0fbc2d3638e3ee34731dd2c;p=python typos. --- diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index a079213d36..630c97a8b0 100644 --- a/Doc/howto/cporting.rst +++ b/Doc/howto/cporting.rst @@ -27,13 +27,13 @@ The easiest way to compile only some code for 3.0 is to check if #endif API functions that are not present can be aliased to their equivalents within -conditional block. +conditional blocks. Changes to Object APIs ====================== -Python 3.0 merged together some types with simliar functions while cleanly +Python 3.0 merged together some types with similar functions while cleanly separating others. @@ -121,7 +121,7 @@ Module initialization and state Python 3.0 has a revamped extension module initialization system. (See PEP :pep:`3121`.) Instead of storing module state in globals, they should be stored -in a interpreter specific structure. Creating modules that act correctly in +in an interpreter specific structure. Creating modules that act correctly in both 2.x and 3.0 is tricky. The following simple example demonstrates how. :: #include "Python.h"