Message129299
| Author |
terry.reedy |
| Recipients |
docs@python, terry.reedy |
| Date |
2011年02月24日.18:28:57 |
| SpamBayes Score |
1.0658418e-05 |
| Marked as misclassified |
No |
| Message-id |
<1298572139.69.0.327669775377.issue11310@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The entry for bytearray(source...) says
"
The optional source parameter can be used to initialize the array in a few different ways:
...
If it is an integer, the array will have that size and will be initialized with null bytes.
...
Without an argument, an array of size 0 is created.
"
[integer must be non-negative -- patch adds this]
The entry for bytes(source...) refers back to the bytearray entry.
The docstrings for bytes and bytearray omit both possibilities.
Attached is a possible patch to include them. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年02月24日 18:28:59 | terry.reedy | set | recipients:
+ terry.reedy, docs@python |
| 2011年02月24日 18:28:59 | terry.reedy | set | messageid: <1298572139.69.0.327669775377.issue11310@psf.upfronthosting.co.za> |
| 2011年02月24日 18:28:58 | terry.reedy | link | issue11310 messages |
| 2011年02月24日 18:28:58 | terry.reedy | create |
|