Skip to content

Commit 380665c

Browse files
westurnerCarreau
authored andcommitted
CLN: remove self. from the _GIF1 and _GIF2 globals
1 parent 44421d9 commit 380665c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IPython/core/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ def __init__(
10231023
format = self._FMT_PNG
10241024
elif data[8:12] == _WEBP:
10251025
format = self._FMT_WEBP
1026-
elif data[:6] == self._GIF1 or data[:6] == self._GIF2:
1026+
elif data[:6] == _GIF1 or data[:6] == _GIF2:
10271027
format = self._FMT_GIF
10281028

10291029
# failed to detect format, default png

0 commit comments

Comments
 (0)