Skip to content

Commit

Permalink
builtins: Use raw strings for inline math.
Browse files Browse the repository at this point in the history
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'
  • Loading branch information
laurensvalk committed Aug 2, 2021
1 parent 6c357a1 commit 463a805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ubuiltins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def __init__(self, source: _str, encoding: _str) -> None:
...

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.
Expand Down Expand Up @@ -169,7 +169,7 @@ def __init__(self, source: Union[_bytes, _bytearray, _str, Iterable[_int]]) -> N
...

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.
Expand Down

0 comments on commit 463a805

Please sign in to comment.