Files
pybricks-api/_pbport.py
T
David Lechner 76fda14db9 doc: experimenting with autodoc generation
Observations:

* Type annotations tend to be verbose, for example:

        blink(color1: typing.Union[pblight.Color, pblight.RGB, NoneType], color2: typing.Union[pblight.Color, pblight.RGB, NoneType], pattern: pblight.Pattern) → None

* There seems to be a bug with .. autodata::
2018-09-07 20:53:03 -05:00

8 lines
87 B
Python

"""Private base class for ports"""
from enum import Enum
class Port(Enum):
pass