[etc] Fix built-in name.

This commit is contained in:
kijeong kim 2017-07-06 10:31:02 +09:00
parent 085f0aa23f
commit afce29ea74

View File

@ -37,11 +37,11 @@ __version__ = "0.4"
# 4. page # 4. page
# 5. page contents # 5. page contents
def _obj(fp, obj, **dict): def _obj(fp, obj, **dict_):
fp.write("%d 0 obj\n" % obj) fp.write("%d 0 obj\n" % obj)
if dict: if dict_:
fp.write("<<\n") fp.write("<<\n")
for k, v in dict.items(): for k, v in dict_.items():
if v is not None: if v is not None:
fp.write("/%s %s\n" % (k, v)) fp.write("/%s %s\n" % (k, v))
fp.write(">>\n") fp.write(">>\n")