mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
fixed return value of len() in doc
This commit is contained in:
parent
48d3aeb80f
commit
63b8f09a70
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user