Skip to content

Commit

Permalink
Merge pull request #2612 from kijeong/request
Browse files Browse the repository at this point in the history
Don't shadow built-in dict.
  • Loading branch information
wiredfool committed Jul 6, 2017
2 parents 0d3712a + 580b6fb commit 912b0f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PIL/PdfImagePlugin.py
Expand Up @@ -37,11 +37,11 @@
# 4. page
# 5. page contents

def _obj(fp, obj, **dict):
def _obj(fp, obj, **dictionary):
fp.write("%d 0 obj\n" % obj)
if dict:
if dictionary:
fp.write("<<\n")
for k, v in dict.items():
for k, v in dictionary.items():
if v is not None:
fp.write("/%s %s\n" % (k, v))
fp.write(">>\n")
Expand Down

0 comments on commit 912b0f0

Please sign in to comment.