Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/misc/replace_dot_all.py: Use __import__
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jan 29, 2023
1 parent d296b7c commit ac83a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/misc/replace_dot_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
# Importing packages

from sage.misc.dev_tools import import_statements
# import sage.all
from sage.all import *
import os
import re
import argparse

# We import this using __import__ so that "tox -e relint" does not complain about this source file.
__import__("sage.all", globals(), locals(), ["*"])

# Keep in sync with SAGE_ROOT/src/.relint.yml (namespace_pkg_all_import)

Expand Down

0 comments on commit ac83a49

Please sign in to comment.