From b02895e5fcb22866d4ba9221fedbdbad75f87371 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 2 Aug 2021 16:15:15 +0200 Subject: [PATCH] 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' --- src/ubuiltins/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ubuiltins/__init__.py b/src/ubuiltins/__init__.py index a376a9f..0399b74 100644 --- a/src/ubuiltins/__init__.py +++ b/src/ubuiltins/__init__.py @@ -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.