File: fix-escape.patch

package info (click to toggle)
pythondialog 3.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,536 kB
  • sloc: python: 3,817; makefile: 159
file content (21 lines) | stat: -rw-r--r-- 875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Fix escape in docstring
 Python 3.12 emits a visible warning. This fixes the string to avoid it.
 .
 pythondialog (3.5.1-5) unstable; urgency=low
 .
   * Team upload.
   * Fix escape sequence (Closes: #1074364).
Author: Salvo 'LtWorf' Tomaselli <ltworf@debian.org>
Bug-Debian: https://bugs.debian.org/1074364

--- pythondialog-3.5.1.orig/dialog.py
+++ pythondialog-3.5.1/dialog.py
@@ -3667,7 +3667,7 @@ by :program:`dialog`.
         Display nodes organized in a tree structure. Each node has a
         *tag*, an *item* text, a selected *status*, and a *depth* in
         the tree. Only the *item* texts are displayed in the widget;
-        *tag*\s are only used for the return value. Only one node can
+        *tag*s are only used for the return value. Only one node can
         be selected at a given time, as for the :meth:`radiolist`
         widget.