summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Doc/api/api.tex
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-05-03 11:25:13 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-05-03 11:25:13 +0000
commit458120dd40db6b4df55a4e96b650e16798ef06a0 (patch)
tree8f82685be24fef97e715c6f5ca4c68d34d5074ee /sys/src/cmd/python/Doc/api/api.tex
parent3a742c699f6806c1145aea5149bf15de15a0afd7 (diff)
add hg and python
Diffstat (limited to 'sys/src/cmd/python/Doc/api/api.tex')
-rw-r--r--sys/src/cmd/python/Doc/api/api.tex60
1 files changed, 60 insertions, 0 deletions
diff --git a/sys/src/cmd/python/Doc/api/api.tex b/sys/src/cmd/python/Doc/api/api.tex
new file mode 100644
index 000000000..cf28f5b4c
--- /dev/null
+++ b/sys/src/cmd/python/Doc/api/api.tex
@@ -0,0 +1,60 @@
+\documentclass{manual}
+
+\title{Python/C API Reference Manual}
+
+\input{boilerplate}
+
+\makeindex % tell \index to actually write the .idx file
+
+
+\begin{document}
+
+\maketitle
+
+\ifhtml
+\chapter*{Front Matter\label{front}}
+\fi
+
+\input{copyright}
+
+\begin{abstract}
+
+\noindent
+This manual documents the API used by C and \Cpp{} programmers who
+want to write extension modules or embed Python. It is a companion to
+\citetitle[../ext/ext.html]{Extending and Embedding the Python
+Interpreter}, which describes the general principles of extension
+writing but does not document the API functions in detail.
+
+\warning{The current version of this document is incomplete. I hope
+that it is nevertheless useful. I will continue to work on it, and
+release new versions from time to time, independent from Python source
+code releases.}
+
+\end{abstract}
+
+\tableofcontents
+
+
+\input{intro}
+\input{veryhigh}
+\input{refcounting}
+\input{exceptions}
+\input{utilities}
+\input{abstract}
+\input{concrete}
+\input{init}
+\input{memory}
+\input{newtypes}
+
+
+\appendix
+\chapter{Reporting Bugs}
+\input{reportingbugs}
+
+\chapter{History and License}
+\input{license}
+
+\input{api.ind} % Index -- must be last
+
+\end{document}