From 9abefffc7a36dc3dc689dabbaacc30dbd9753295 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Fri, 13 Jan 2023 15:32:33 +0100 Subject: [PATCH] Use `format()` --- documentation/src/boxes2rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/src/boxes2rst b/documentation/src/boxes2rst index 8fc8c35..2738029 100755 --- a/documentation/src/boxes2rst +++ b/documentation/src/boxes2rst @@ -43,7 +43,7 @@ class Boxes2rst: for box in group.generators: f.write(box.__class__.__name__) f.write("\n..........................................\n\n") - f.write("\n\n.. autoclass:: %s.%s" % ( + f.write("\n\n.. autoclass:: {}.{}".format( box.__class__.__module__, box.__class__.__name__)) f.write("\n\n") if os.path.exists("../../static/samples/"+ box.__class__.__name__+".jpg"):