File: update-str-isprintable-docstring.patch

package info (click to toggle)
python-pdoc 15.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,192 kB
  • sloc: python: 8,013; javascript: 1,156; makefile: 18; sh: 3
file content (25 lines) | stat: -rw-r--r-- 1,439 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
22
23
24
25
From: Colin Watson <cjwatson@debian.org>
Date: Tue, 25 Mar 2025 10:27:36 +0000
Subject: Update for Python str.isprintable docstring change

See https://github.com/python/cpython/issues/82045.

Bug-Debian: https://bugs.debian.org/1101252
Last-Update: 2025-03-25
---
 test/testdata/enums.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testdata/enums.txt b/test/testdata/enums.txt
index fbc939a..09d2a48 100644
--- a/test/testdata/enums.txt
+++ b/test/testdata/enums.txt
@@ -76,7 +76,7 @@
         <method def isalpha(self, /): ...  # inherited from builtins.str.isalpha, Return True if the s…>
         <method def isalnum(self, /): ...  # inherited from builtins.str.isalnum, Return True if the s…>
         <method def isidentifier(self, /): ...  # inherited from builtins.str.isidentifier, Return True if the s…>
-        <method def isprintable(self, /): ...  # inherited from builtins.str.isprintable, Return True if the s…>
+        <method def isprintable(self, /): ...  # inherited from builtins.str.isprintable, Return True if all c…>
         <method def zfill(self, width, /): ...  # inherited from builtins.str.zfill, Pad a numeric string…>
         <method def format(self, /, *args, **kwargs): ...  # inherited from builtins.str.format, Return a formatted v…>
         <method def format_map(self, mapping, /): ...  # inherited from builtins.str.format_map, Return a formatted v…>