Merge branch 'master' into PyPI

preserve-order
Andrew Port 2022-06-05 22:22:18 -07:00
commit d9f5a2a781
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