File: fix-syntax-warning.patch

package info (click to toggle)
python-aafigure 0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 428 kB
  • sloc: python: 1,942; makefile: 112
file content (17 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix syntax warning
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Bug-Debian: https://bugs.debian.org/1085836
Last-Update: 2025-01-02

--- python-aafigure-0.6.orig/aafigure/aafigure.py
+++ python-aafigure-0.6/aafigure/aafigure.py
@@ -792,7 +792,7 @@ class AsciiArtImage:
             return []
 
     def _follow_rounded_edge(self, x, y):
-        """\
+        r"""\
         Check for rounded edges:
             /-    |     -\-    |   and also \    /  etc.
             |    -/      |     \-            -  |