Minor: adjust docstring
This commit is contained in:
parent
0f5b6e2e83
commit
54dc6b2dcc
@ -622,8 +622,8 @@ def _writeGlyphToBytes(
|
|||||||
|
|
||||||
def writeGlyphToString(glyphName, glyphObject=None, drawPointsFunc=None, formatVersion=2, validate=True):
|
def writeGlyphToString(glyphName, glyphObject=None, drawPointsFunc=None, formatVersion=2, validate=True):
|
||||||
"""
|
"""
|
||||||
Return .glif data for a glyph as a Unicode string (`unicode` in py2, `str`
|
Return .glif data for a glyph as a string. The XML declaration's
|
||||||
in py3). The XML declaration's encoding is always set to "UTF-8".
|
encoding is always set to "UTF-8".
|
||||||
The 'glyphObject' argument can be any kind of object (even None);
|
The 'glyphObject' argument can be any kind of object (even None);
|
||||||
the writeGlyphToString() method will attempt to get the following
|
the writeGlyphToString() method will attempt to get the following
|
||||||
attributes from it:
|
attributes from it:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user