Skip to content

Commit

Permalink
SPL Studio (Python 3.11): remove __future__ import. Re #155.
Browse files Browse the repository at this point in the history
As NVDA 2024.1 requirement is in effect, there is no need to import __future__ as NVDA is powered by Python 3.11.
  • Loading branch information
josephsl committed Mar 30, 2024
1 parent ea5f830 commit 62eaf00
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions addon/appModules/splstudio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

# Minimum version: SPL 5.40, NVDA 2021.3.

# #155 (21.03): remove __future__ import when NVDA runs under Python 3.10.
from __future__ import annotations
from typing import Any, Optional
from functools import wraps
import os
Expand Down
2 changes: 0 additions & 2 deletions addon/appModules/splstudio/splconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# For UI surrounding this module, see splconfui module.
# For the add-on settings specification, see splconfspec module.

# #155 (21.03): remove __future__ import when NVDA runs under Python 3.10.
from __future__ import annotations
from typing import Optional, Any, Union
import os
import pickle
Expand Down
2 changes: 0 additions & 2 deletions addon/appModules/splstudio/splmisc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# Miscellaneous functions and user interfaces
# Split from config module in 2015.

# #155 (21.03): remove __future__ import when NVDA runs under Python 3.10.
from __future__ import annotations
from typing import Any, Optional
import weakref
import os
Expand Down

0 comments on commit 62eaf00

Please sign in to comment.