Allow location to be optional.

This commit is contained in:
Simon Cozens 2020-07-03 12:35:55 +01:00
parent c43b58c973
commit 8e0b1fbfe2

View File

@ -187,7 +187,8 @@ class LookupBuilder(object):
Args:
location: A string or tuple representing the location in the
original source which produced this break.
original source which produced this break, or ``None`` if
no location is provided.
"""
log.warning(OpenTypeLibError(
'unsupported "subtable" statement for lookup type',