File: __init__.py-Don-t-use-ignore-in-get_doc.patch

package info (click to toggle)
python-autodocsumm 0.2.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 536 kB
  • sloc: python: 985; makefile: 171; sh: 21
file content (20 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Wed, 13 Nov 2024 18:42:27 +0100
Subject: __init__.py: Don't use 'ignore' in get_doc()

Forwarded: https://github.com/Chilipp/autodocsumm/issues/105
---
 autodocsumm/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/autodocsumm/__init__.py
+++ b/autodocsumm/__init__.py
@@ -531,7 +531,7 @@
             ignore = _get_arg("ignore", 1, 1, *args, **kwargs)
             if not isinstance(docstring, str):
                 docstring = force_decode(docstring, encoding)
-            doc.append(prepare_docstring(docstring, ignore))
+            doc.append(prepare_docstring(docstring))
 
         return doc