Skip to content

Commit 774d7ac

Browse files
authored
Revert "Add from __future__ import annotations everywhere" for examples (#1898)
This partially reverts commit ddf8c8c.
1 parent 4bdce19 commit 774d7ac

File tree

167 files changed

+0
-334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+0
-334
lines changed

arcade/examples/array_backed_grid.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
If Python and Arcade are installed, this example can be run from the command line with:
1414
python -m arcade.examples.array_backed_grid
1515
"""
16-
from __future__ import annotations
17-
1816
import arcade
1917

2018
# Set how many rows and columns we will have

arcade/examples/array_backed_grid_buffered.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
If Python and Arcade are installed, this example can be run from the command line with:
1414
python -m arcade.examples.array_backed_grid_buffered
1515
"""
16-
from __future__ import annotations
17-
1816
import arcade
1917

2018
# Set how many rows and columns we will have

arcade/examples/array_backed_grid_sprites_1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
If Python and Arcade are installed, this example can be run from the command line with:
1313
python -m arcade.examples.array_backed_grid_sprites_1
1414
"""
15-
from __future__ import annotations
16-
1715
import arcade
1816

1917
# Set how many rows and columns we will have

arcade/examples/array_backed_grid_sprites_2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
If Python and Arcade are installed, this example can be run from the command line with:
1313
python -m arcade.examples.array_backed_grid_sprites_2
1414
"""
15-
from __future__ import annotations
16-
1715
import arcade
1816

1917
# Set how many rows and columns we will have

arcade/examples/astar_pathfinding.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
python -m arcade.examples.astar_pathfinding
88
"""
99

10-
from __future__ import annotations
11-
1210
import arcade
1311
import random
1412

arcade/examples/asteroid_smasher.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
the command line with:
1414
python -m arcade.examples.asteroid_smasher
1515
"""
16-
from __future__ import annotations
17-
1816
import random
1917
import math
2018
import arcade

arcade/examples/background_blending.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
python -m arcade.examples.background_blending
1010
"""
1111

12-
from __future__ import annotations
13-
1412
import arcade
1513
import arcade.experimental.background as background
1614

arcade/examples/background_groups.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
python -m arcade.examples.background_groups
1212
"""
1313

14-
from __future__ import annotations
15-
1614
import arcade
1715
import arcade.experimental.background as background
1816

arcade/examples/background_parallax.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
python -m arcade.examples.background_parallax
1414
"""
1515

16-
from __future__ import annotations
17-
1816
import arcade
1917
import arcade.experimental.background as background
2018

arcade/examples/background_scrolling.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
If Python and Arcade are installed, this example can be run from the command line with:
1010
python -m arcade.examples.background_scrolling
1111
"""
12-
from __future__ import annotations
13-
1412
import arcade
1513
import arcade.experimental.background as background
1614

0 commit comments

Comments
 (0)