From ba09904001985cbf9cf1e19956815e5f9e5a810d Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 4 Nov 2002 20:34:50 +0000 Subject: Doc (This used to be commit 21e41866425c6f8bf04b08b3edd5bf70caf56e32) --- source3/python/py_tdbpack.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source3/python/py_tdbpack.c') 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. "; -- cgit