From 8cbe6f0f810786edc43f4172637ad16ab0069abc Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Sun, 5 Jun 2022 22:19:26 -0700 Subject: [PATCH] minor docstring change --- svgpathtools/document.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/svgpathtools/document.py b/svgpathtools/document.py index f3810f9..c3fcdd1 100644 --- a/svgpathtools/document.py +++ b/svgpathtools/document.py @@ -259,9 +259,7 @@ class Document: @classmethod def from_svg_string(cls, svg_string): - """Factory method for creating a document from a string holding a svg - object - """ + """Constructor for creating a Document object from a string.""" # wrap string into StringIO object svg_file_obj = StringIO(svg_string) # create document from file object