summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-11-04 20:34:50 +0000
committerMartin Pool <mbp@samba.org>2002-11-04 20:34:50 +0000
commitba09904001985cbf9cf1e19956815e5f9e5a810d (patch)
tree48b180aaf8c825baee9ad820fc8c1fa867242964
parentb700eafad9b3ea1567dba2ffccd28a2bd91e88e5 (diff)
downloadsamba-ba09904001985cbf9cf1e19956815e5f9e5a810d.tar.gz
samba-ba09904001985cbf9cf1e19956815e5f9e5a810d.tar.bz2
samba-ba09904001985cbf9cf1e19956815e5f9e5a810d.zip
Doc
(This used to be commit 21e41866425c6f8bf04b08b3edd5bf70caf56e32)
-rw-r--r--source3/python/py_tdbpack.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/python/py_tdbpack.c b/source3/python/py_tdbpack.c
index 95a74b00c6..8478ab28a5 100644
--- a/source3/python/py_tdbpack.c
+++ b/source3/python/py_tdbpack.c
@@ -99,12 +99,15 @@ returns:
buffer -- string containing packed data
raises:
- IndexError -- if there are not the same number of format codes as of
- values
+ IndexError -- if there are too few values for the format
ValueError -- if any of the format characters is illegal
TypeError -- if the format is not a string, or values is not a sequence,
or any of the values is of the wrong type for the corresponding
format character
+
+notes:
+ For historical reasons, it is not an error to pass more values than are consumed
+ by the format.
";