This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年02月24日 18:28 by terry.reedy, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| zbytes.diff | terry.reedy, 2011年02月24日 18:28 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg129299 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2011年02月24日 18:28 | |
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. |
|||
| msg156740 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年03月25日 07:30 | |
I think you could just go ahead and commit your patch. I don’t remember if the reST docs were changed recently-ish or if it’s still an open bug, so you may want to check that the new docstrings matches the doc. |
|||
| msg157151 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年03月30日 21:45 | |
Duplicate of issue 11231. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:13 | admin | set | github: 55519 |
| 2012年03月30日 21:45:07 | r.david.murray | set | status: open -> closed superseder: bytes() constructor is not correctly documented nosy: + r.david.murray messages: + msg157151 resolution: duplicate stage: resolved |
| 2012年03月25日 07:30:08 | eric.araujo | set | nosy:
+ eric.araujo messages: + msg156740 versions: + Python 2.7 |
| 2011年02月24日 18:28:58 | terry.reedy | create | |