minor docstring change

preserve-order
Andrew Port 2022-06-05 22:19:26 -07:00
parent b82530aaac
commit 8cbe6f0f81
1 changed files with 1 additions and 3 deletions

View File

@ -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