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

Commit

Permalink
src/sage/rings/number_field/number_field.py: Fix error found by pyflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 16, 2020
1 parent 6697bca commit da551dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/rings/number_field/number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -9682,11 +9682,11 @@ def hilbert_symbol_negative_at_S(self, S, b, check=True):
"with respect to %s"%p)
else:
if not p in self.real_places():
raise ValueError("entries of the list must be " +
raise ValueError("entries of the list must be "
"prime ideals or real places")
if p(b) > 0:
raise ValueError("%s is a square in the completion " +
"with respect to %s" %(b,p))
raise ValueError("%s is a square in the completion "
"with respect to %s" % (b, p))

# L is the list of primes that we need to consider, b must have
# nonzero valuation for each prime in L, this is the set S'
Expand Down

0 comments on commit da551dc

Please sign in to comment.