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

Commit

Permalink
git grep -l -E ' (Q as QQ|Z as ZZ)' | xargs sed -i.bak 's/ Q as QQ/ Q…
Browse files Browse the repository at this point in the history
…Q/;s/ Z as ZZ/ ZZ/;'
  • Loading branch information
Matthias Koeppe committed Jan 30, 2023
1 parent 3590a19 commit 1121fa3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/sage/coding/code_bounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@
# ****************************************************************************

from sage.libs.gap.libgap import libgap
from sage.rings.rational_field import Q as QQ
from sage.rings.rational_field import QQ
from sage.rings.real_mpfr import RR
from sage.rings.integer_ring import Z as ZZ
from sage.rings.integer_ring import ZZ
from sage.rings.real_double import RDF
from sage.arith.misc import is_prime_power
from sage.arith.misc import binomial
Expand Down
2 changes: 1 addition & 1 deletion src/sage/coding/information_set_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# http://www.gnu.org/licenses/
#******************************************************************************

from sage.rings.integer_ring import Z as ZZ
from sage.rings.integer_ring import ZZ
from sage.rings.integer import Integer
from sage.modules.free_module_element import free_module_element as vector
from sage.structure.sage_object import SageObject
Expand Down
2 changes: 1 addition & 1 deletion src/sage/groups/perm_gps/permgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
from sage.misc.randstate import current_randstate
from sage.groups.group import FiniteGroup

from sage.rings.rational_field import Q as QQ
from sage.rings.rational_field import QQ
from sage.rings.integer import Integer
from sage.interfaces.abc import ExpectElement, GapElement
from sage.libs.gap.libgap import libgap
Expand Down
2 changes: 1 addition & 1 deletion src/sage/groups/perm_gps/permgroup_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ from cpython.list cimport *
from cypari2.gen cimport Gen

from sage.ext.stdsage cimport HAS_DICTIONARY
from sage.rings.integer_ring import Z as ZZ
from sage.rings.integer_ring import ZZ
from sage.rings.integer import Integer
from sage.rings.polynomial.polynomial_element import is_Polynomial
from sage.rings.polynomial.multi_polynomial import is_MPolynomial
Expand Down

0 comments on commit 1121fa3

Please sign in to comment.