From 863b022523ff44308f48c128602ddc85e8a28280 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Mon, 23 Nov 2020 14:37:01 +0000 Subject: [PATCH] Add docstring to GlyphSet --- Lib/fontTools/ufoLib/glifLib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/fontTools/ufoLib/glifLib.py b/Lib/fontTools/ufoLib/glifLib.py index 0810d2ed8..3003110e5 100755 --- a/Lib/fontTools/ufoLib/glifLib.py +++ b/Lib/fontTools/ufoLib/glifLib.py @@ -149,6 +149,9 @@ class GlyphSet(_UFOBaseIO): ``validateRead`` will validate read operations. Its default is ``True``. ``validateWrite`` will validate write operations. Its default is ``True``. + ``expectContentsFile`` will raise a GlifLibError if a contents.plist file is + not found on the glyph set file system. This should be set to ``True`` if you + are reading an existing UFO and ``False`` if you create a fresh glyph set. """ try: ufoFormatVersion = UFOFormatVersion(ufoFormatVersion)