sepandhaghighi / art

🎨 ASCII art library for Python

Home Page:https://www.ascii-art.site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid escape sequences in string literals

heidecjj opened this issue · comments

Description

Many string literals in art_dic.py, decor_dic.py, and text_dic1.py have invalid escape sequences such as \o, \_, \=

Steps/Code to Reproduce

Open a python3 interpreter, then perform the following

import warnings
warnings.simplefilter('always', DeprecationWarning)
import art

Expected Behavior

No deprecation warnings should print when importing art

Actual Behavior

Many deprecation warnings, such as the following, print out:

/path/to/art/art_dic.py:29: DeprecationWarning: invalid escape sequence \_
    "worm": "_/\__/\__0>",

Operating System

Ubuntu 18.04.4 LTS

Python Version

3.6.9

ART Version (Use : art.__version__)

5.2

Congratulations! You have made your first issue to art.
We will respond your issue and do our best to solve it as soon as possible, you can see more issues here.

Thank you for your precise issue finding. That's so valuable for us.
It seems you're right. we'll take a look at your PR ASAP.