summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-18 11:04:29 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-18 11:04:29 (GMT)
commitf23e0fe3beb5ebca676359ca7d19c653dc63a998 (patch)
treea575990af853c767cbb44f0b54c343f8da3ae3c4 /Doc/ext
parent7e9394ab9722001789a35798ab8950e7a2b0a752 (diff)
downloadcpython-f23e0fe3beb5ebca676359ca7d19c653dc63a998.zip
cpython-f23e0fe3beb5ebca676359ca7d19c653dc63a998.tar.gz
cpython-f23e0fe3beb5ebca676359ca7d19c653dc63a998.tar.bz2
micro change
Diffstat (limited to 'Doc/ext')
-rw-r--r--Doc/ext/ext.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex
index f92d96c..bb0b4f3 100644
--- a/Doc/ext/ext.tex
+++ b/Doc/ext/ext.tex
@@ -838,7 +838,7 @@ Examples (to the left the call, to the right the resulting Python value):
\begin{verbatim}
Py_BuildValue("") None
Py_BuildValue("i", 123) 123
- Py_BuildValue("ii", 123, 456) (123, 456)
+ Py_BuildValue("iii", 123, 456, 789) (123, 456, 789)
Py_BuildValue("s", "hello") 'hello'
Py_BuildValue("ss", "hello", "world") ('hello', 'world')
Py_BuildValue("s#", "hello", 4) 'hell'
@@ -847,10 +847,10 @@ Examples (to the left the call, to the right the resulting Python value):
Py_BuildValue("(ii)", 123, 456) (123, 456)
Py_BuildValue("(i,i)", 123, 456) (123, 456)
Py_BuildValue("[i,i]", 123, 456) [123, 456]
- Py_BuildValue("{s:i,s:i}", "abc", 123, "def", 456)
- {'abc': 123, 'def': 456}
- Py_BuildValue("((ii)(ii)) (ii)", 1, 2, 3, 4, 5, 6)
- (((1, 2), (3, 4)), (5, 6))
+ Py_BuildValue("{s:i,s:i}",
+ "abc", 123, "def", 456) {'abc': 123, 'def': 456}
+ Py_BuildValue("((ii)(ii)) (ii)",
+ 1, 2, 3, 4, 5, 6) (((1, 2), (3, 4)), (5, 6))
\end{verbatim}