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

Commit

Permalink
trivial python3 test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
embray committed Jan 2, 2019
1 parent e5454ed commit cbd1228
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sage/libs/gap/element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1346,12 +1346,14 @@ cdef class GapElement_Integer(GapElement):
sage: int(libgap(3))
3
sage: type(_)
<... 'int'>
<type 'int'>
sage: int(libgap(2)**128)
340282366920938463463374607431768211456L
sage: type(_)
sage: type(_) # py2
<type 'long'>
sage: type(_) # py3
<type 'int'>
"""
return self.sage(ring=int)

Expand Down

0 comments on commit cbd1228

Please sign in to comment.