mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Bug #1734111: document struct.Struct.size.
This commit is contained in:
parent
4ad9b8206c
commit
b7a837d81b
1 changed files with 5 additions and 0 deletions
|
@ -290,3 +290,8 @@ Compiled Struct objects support the following methods and attributes:
|
|||
|
||||
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…
Add table
Add a link
Reference in a new issue