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

Commit

Permalink
restructured imports and removed non-needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Jan 12, 2015
1 parent 8e088c0 commit 2607990
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sage/groups/group.pyx
Expand Up @@ -17,12 +17,7 @@ Base class for groups
# http://www.gnu.org/licenses/
#*****************************************************************************

import random

from sage.structure.parent cimport Parent
from sage.monoids.monoid cimport Monoid
from sage.rings.infinity import infinity
from sage.rings.integer_ring import ZZ


def is_Group(x):
Expand Down Expand Up @@ -140,6 +135,7 @@ cdef class Group(Monoid):
...
NotImplementedError
"""
from sage.rings.infinity import infinity
return self.order() != infinity


Expand Down

0 comments on commit 2607990

Please sign in to comment.