Bug #1734111: document struct.Struct.size.
This commit is contained in:
parent
4ad9b8206c
commit
b7a837d81b
|
@ -290,3 +290,8 @@ Compiled Struct objects support the following methods and attributes:
|
||||||
|
|
||||||
The format string used to construct this Struct object.
|
The format string used to construct this Struct object.
|
||||||
|
|
||||||
|
.. attribute:: Struct.size
|
||||||
|
|
||||||
|
The calculated size of the struct (and hence of the string) corresponding
|
||||||
|
to :attr:`format`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue