]> granicus.if.org Git - zziplib/commit
docs: call `replace` directory on string object
authorPatrick Steinhardt <ps@pks.im>
Thu, 23 May 2019 20:58:38 +0000 (22:58 +0200)
committerPatrick Steinhardt <ps@pks.im>
Thu, 1 Aug 2019 08:14:04 +0000 (10:14 +0200)
commit99582eb1446a54222f9f57fe48a7562a52a9fbf8
tree6ead399f205b4669bb9c899060e45f4621c3a581
parentbed6501f655ddfaba8e08fa565117542837575f8
docs: call `replace` directory on string object

In Python 3, the function string.replace has been removed in favor of
using replace on the string class directly. As Python 2.7 already
supports this variant, convert all instances of the old way to call
replace on the object.
docs/make-doc.py
docs/zzipdoc/dbk2htm.py