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

Commit

Permalink
Revert "remove unreachable ValueError (comment 2)"
Browse files Browse the repository at this point in the history
This reverts commit 26eb89c.
  • Loading branch information
behackl committed Sep 29, 2015
1 parent 6d3e4f4 commit 66759bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sage/rings/asymptotic/growth_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ def __init__(self, var, repr=None):
for v in var), tuple())
var_repr = ', '.join(var)
else:
for v in var:
if not isidentifier(v):
raise ValueError("'%s' is not a valid name for a variable." % (v,))
var_bases = var
var_repr = str(repr).strip()

Expand Down

0 comments on commit 66759bb

Please sign in to comment.