Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63737 > unrolled thread
| Started by | Daniel da Silva <var.mail.daniel@gmail.com> |
|---|---|
| First post | 2014-01-11 19:53 -0500 |
| Last post | 2014-01-11 19:53 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Python 3 __bytes__ method Daniel da Silva <var.mail.daniel@gmail.com> - 2014-01-11 19:53 -0500
| From | Daniel da Silva <var.mail.daniel@gmail.com> |
|---|---|
| Date | 2014-01-11 19:53 -0500 |
| Subject | Re: Python 3 __bytes__ method |
| Message-ID | <mailman.5347.1389489890.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
Where did you read this? I can't find any documentation about __bytes__ on google. Regards, Daniel On Sat, Jan 11, 2014 at 7:24 PM, Ethan Furman <ethan@stoneleaf.us> wrote: > Python 3 has a new method, __bytes__. The docs say: Called by bytes() to > compute a byte-string representation of an object. This should return a > bytes object. > > I must admit I'm not entirely clear how this should be used. Is anyone > using this now? If so, how? > > -- > ~Ethan~ > -- > https://mail.python.org/mailman/listinfo/python-list >
Back to top | Article view | comp.lang.python
csiph-web