summaryrefslogtreecommitdiff
path: root/docs/esp8266/tutorial/nextsteps.rst
diff options
context:
space:
mode:
authorIyassou Shimels <s.iyassou@gmail.com>2020-09-23 22:45:22 +0300
committerDamien George <damien@micropython.org>2020-09-24 11:04:58 +1000
commitca017841d65b5f9da5eb4e6e3ca66b009bc54fc4 (patch)
tree835c229fc89db716449a19b2f3537e077a37d97d /docs/esp8266/tutorial/nextsteps.rst
parentbada8c923195622aee80faf7acf003bc7852459d (diff)
py/objstr: Make bytes(bytes_obj) return bytes_obj.
Calling the bytes constructor on a bytes object returns the original bytes object. This saves allocating a new instance, and matches CPython. Signed-off-by: Iyassou Shimels <s.iyassou@gmail.com>
Diffstat (limited to 'docs/esp8266/tutorial/nextsteps.rst')
0 files changed, 0 insertions, 0 deletions