Allow None for globalSubrs in T2CharString
This commit is contained in:
parent
7e97247925
commit
846d09e380
@ -242,7 +242,7 @@ class T2CharString(ByteCodeBase):
|
|||||||
self.bytecode = bytecode
|
self.bytecode = bytecode
|
||||||
self.program = program
|
self.program = program
|
||||||
self.private = private
|
self.private = private
|
||||||
self.globalSubrs = globalSubrs
|
self.globalSubrs = globalSubrs if globalSubrs is not None else []
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
if self.bytecode is None:
|
if self.bytecode is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user