mirror of https://github.com/python/cpython
no-issue: Capitalise 'PhotoImage' (gh-108958)
This commit is contained in:
parent
4e478534d7
commit
2302fa17cf
|
@ -874,7 +874,7 @@ class Shape(object):
|
|||
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 New Issue