blob: ccbc5ffceda921bdf02c047649584331377104f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- libSBML-5.19.0-Source/src/bindings/python/doc-converter/rewrite_pydoc.py~ 2020-11-25 12:03:01.000000000 +0100
+++ libSBML-5.19.0-Source/src/bindings/python/doc-converter/rewrite_pydoc.py 2021-01-17 11:55:21.317440267 +0100
@@ -118,7 +118,6 @@
import sys
import os
import textwrap
-from formatter import NullWriter, AbstractFormatter
try:
from htmllib import HTMLParser
except Exception:
@@ -192,12 +191,10 @@
# writes all text to an internal string variable. The contents can be
# obtained using a call to get_text().
-class RewritePydocStringWriter(NullWriter):
-
+class RewritePydocStringWriter:
def __init__(self, maxcol=72):
self.text = ''
self.maxcol = maxcol
- NullWriter.__init__(self)
self.reset()
def reset(self):
|