mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
no-issue: Capitalise 'PhotoImage' (gh-108958)
This commit is contained in:
parent
4e478534d7
commit
2302fa17cf
1 changed files with 1 additions and 1 deletions
|
@ -874,7 +874,7 @@ class Shape(object):
|
||||||
if isinstance(data, str):
|
if isinstance(data, str):
|
||||||
if data.lower().endswith(".gif") and isfile(data):
|
if data.lower().endswith(".gif") and isfile(data):
|
||||||
data = TurtleScreen._image(data)
|
data = TurtleScreen._image(data)
|
||||||
# else data assumed to be Photoimage
|
# else data assumed to be PhotoImage
|
||||||
elif type_ == "compound":
|
elif type_ == "compound":
|
||||||
data = []
|
data = []
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue