mirror of
https://github.com/python/cpython
synced 2024-10-06 14:39:37 +00:00
no-issue: Capitalise 'PhotoImage' (gh-108958)
This commit is contained in:
parent
4e478534d7
commit
2302fa17cf
|
@ -874,7 +874,7 @@ def __init__(self, type_, data=None):
|
|||
if isinstance(data, str):
|
||||
if data.lower().endswith(".gif") and isfile(data):
|
||||
data = TurtleScreen._image(data)
|
||||
# else data assumed to be Photoimage
|
||||
# else data assumed to be PhotoImage
|
||||
elif type_ == "compound":
|
||||
data = []
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue