Message128741
| Author |
vstinner |
| Recipients |
docs@python, pitrou, vstinner |
| Date |
2011年02月17日.16:55:39 |
| SpamBayes Score |
6.73418e-06 |
| Marked as misclassified |
No |
| Message-id |
<1297961739.93.0.395063422111.issue11231@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> These are AFAIR the same.
So the docstring should also maybe be updated too:
$ python
>>> help(bytes)
Help on class bytes in module builtins:
class bytes(object)
| bytes(iterable_of_ints) -> bytes
| bytes(string, encoding[, errors]) -> bytes
| bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer
| bytes(memory_view) -> bytes
|
| Construct an immutable array of bytes from:
| - an iterable yielding integers in range(256)
| - a text string encoded using the specified encoding
| - a bytes or a buffer object
| - any object implementing the buffer API.
|
... |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年02月17日 16:55:39 | vstinner | set | recipients:
+ vstinner, pitrou, docs@python |
| 2011年02月17日 16:55:39 | vstinner | set | messageid: <1297961739.93.0.395063422111.issue11231@psf.upfronthosting.co.za> |
| 2011年02月17日 16:55:39 | vstinner | link | issue11231 messages |
| 2011年02月17日 16:55:39 | vstinner | create |
|