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

Commit

Permalink
trac #17257: improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Oct 30, 2014
1 parent c36e453 commit 4f8b380
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/sage/rings/integer.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5998,7 +5998,7 @@ cpdef LCM_list(v):

def GCD_list(v):
r"""
Return the GCD of a list v of integers.
Return the greatest common divisor of a list of integers.
Elements of v are converted to Sage integers if they aren't already.
An empty list has GCD zero.
Expand All @@ -6009,8 +6009,6 @@ def GCD_list(v):
- ``v`` - list or tuple
OUTPUT: integer
EXAMPLES::
sage: from sage.rings.integer import GCD_list
Expand All @@ -6019,7 +6017,7 @@ def GCD_list(v):
sage: type(w)
<type 'sage.rings.integer.Integer'>
Check that the bug reported in trac #3118 has been fixed::
Check that the bug reported in trac :trac:`3118` has been fixed::
sage: sage.rings.integer.GCD_list([2,2,3])
1
Expand All @@ -6033,7 +6031,7 @@ def GCD_list(v):
sage: type(w)
<type 'sage.rings.integer.Integer'>
Check GCD of empty list is zero::
Check GCD of empty list is zero (:trac:`17257`)::
sage: GCD_list([])
0
Expand Down

0 comments on commit 4f8b380

Please sign in to comment.