From da84d21a0c5fdd1da0fbc2d3638e3ee34731dd2c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 26 Sep 2008 21:15:21 +0000 Subject: typos. --- Doc/howto/cporting.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index a079213..630c97a 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" -- cgit v0.12