summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-01-01 00:28:46 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-01-01 00:28:46 (GMT)
commit68804315e0f2fe567e62c7023bc87ee358a480e7 (patch)
treeb3bd8d536221d63b6a7033fa0fcb10071f564001 /Doc/api
parentf871d833dd2a99d93ebdc4aa4cc07bd4afe9be61 (diff)
downloadcpython-68804315e0f2fe567e62c7023bc87ee358a480e7.zip
cpython-68804315e0f2fe567e62c7023bc87ee358a480e7.tar.gz
cpython-68804315e0f2fe567e62c7023bc87ee358a480e7.tar.bz2
SF Patch #1093896: miscellaneous doc typos
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/intro.tex2
-rw-r--r--Doc/api/memory.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/intro.tex b/Doc/api/intro.tex
index d27a116..752100d 100644
--- a/Doc/api/intro.tex
+++ b/Doc/api/intro.tex
@@ -277,7 +277,7 @@ set_all(PyObject *target, PyObject *item)
The situation is slightly different for function return values.
While passing a reference to most functions does not change your
ownership responsibilities for that reference, many functions that
-return a referece to an object give you ownership of the reference.
+return a reference to an object give you ownership of the reference.
The reason is simple: in many cases, the returned object is created
on the fly, and the reference you get is the only reference to the
object. Therefore, the generic functions that return object
diff --git a/Doc/api/memory.tex b/Doc/api/memory.tex
index 3da6860..3dbe9a5 100644
--- a/Doc/api/memory.tex
+++ b/Doc/api/memory.tex
@@ -134,7 +134,7 @@ that \var{TYPE} refers to any C type.
In addition, the following macro sets are provided for calling the
Python memory allocator directly, without involving the C API functions
listed above. However, note that their use does not preserve binary
-compatibility accross Python versions and is therefore deprecated in
+compatibility across Python versions and is therefore deprecated in
extension modules.
\cfunction{PyMem_MALLOC()}, \cfunction{PyMem_REALLOC()}, \cfunction{PyMem_FREE()}.