Blob Blame History Raw
--- 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):