Skip to content

Mangled text in API docs for radio.receive #720

Open
@microbit-matt-hillsdon

Description

@microbit-matt-hillsdon

image

The docstring might require escaping? It's obviously not helpful to try to render \x0. Need to check the rules. I also don't entirely trust the restructured text -> markdown conversion that's going on. Could also reword in desperation 😄

    Equivalent to ``str(receive_bytes(), 'utf8')`` but with a check that the the first
    three bytes are ``b'\x01\x00\x01'`` (to make it compatible with other platforms that
    may target the micro:bit).

Screenshot taken on Windows (in case rendering differs).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions