mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Merge pull request #2612 from kijeong/request
Don't shadow built-in dict.
This commit is contained in:
commit
912b0f077a
|
@ -37,11 +37,11 @@ __version__ = "0.4"
|
|||
# 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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user