From 63b8f09a7080a44f7a38d0b037eb23fc7ab344dd Mon Sep 17 00:00:00 2001 From: Jan Decaluwe Date: Thu, 8 Jan 2009 15:54:08 +0100 Subject: [PATCH] fixed return value of len() in doc --- doc/source/manual/intro.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/manual/intro.rst b/doc/source/manual/intro.rst index 49c33006..486041bc 100644 --- a/doc/source/manual/intro.rst +++ b/doc/source/manual/intro.rst @@ -350,10 +350,11 @@ object, we get:: >>> print a.max None >>> print len(a) - None + 0 As the instantiation was unconstrained, the *min* and *max* attributes -are undefined, as is the bit width. +are undefined. Likewise, the bit width is undefined, which is indicated +by a return value ``0``. A constrained :class:`intbv` object is created as follows: