mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
ubuiltins: Use raw strings for inline math.
This resolves the following warnings: ./src/ubuiltins/__init__.py:143:31: W605 invalid escape sequence '\l' ./src/ubuiltins/__init__.py:143:38: W605 invalid escape sequence '\l' ./src/ubuiltins/__init__.py:174:31: W605 invalid escape sequence '\l' ./src/ubuiltins/__init__.py:174:38: W605 invalid escape sequence '\l'
This commit is contained in:
@@ -138,7 +138,7 @@ class bytes:
|
||||
...
|
||||
|
||||
def __init__(self, *args):
|
||||
"""
|
||||
r"""
|
||||
Creates a new ``bytes`` object, which is a sequence of integers
|
||||
in the range :math:`0 \leq x \leq 255`. This object is *immutable*,
|
||||
which means that you *cannot* change its contents after you create it.
|
||||
@@ -169,7 +169,7 @@ class bytearray:
|
||||
...
|
||||
|
||||
def __init__(self, *args):
|
||||
"""
|
||||
r"""
|
||||
Creates a new ``bytearray`` object, which is a sequence of integers
|
||||
in the range :math:`0 \leq x \leq 255`. This object is *mutable*, which
|
||||
means that you *can* change its contents after you create it.
|
||||
|
||||
Reference in New Issue
Block a user