From afce29ea74cd6e576cf1cb2a4105af5418471eb7 Mon Sep 17 00:00:00 2001 From: kijeong kim Date: Thu, 6 Jul 2017 10:31:02 +0900 Subject: [PATCH] [etc] Fix built-in name. --- PIL/PdfImagePlugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PIL/PdfImagePlugin.py b/PIL/PdfImagePlugin.py index a6ca0320a..a8d7ae1fd 100644 --- a/PIL/PdfImagePlugin.py +++ b/PIL/PdfImagePlugin.py @@ -37,11 +37,11 @@ __version__ = "0.4" # 4. page # 5. page contents -def _obj(fp, obj, **dict): +def _obj(fp, obj, **dict_): fp.write("%d 0 obj\n" % obj) - if dict: + if dict_: fp.write("<<\n") - for k, v in dict.items(): + for k, v in dict_.items(): if v is not None: fp.write("/%s %s\n" % (k, v)) fp.write(">>\n")