diff options
author | Georg Brandl <georg@python.org> | 2009-01-03 21:17:04 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-03 21:17:04 (GMT) |
commit | 36ab1ef8ee1006596937198e8f149e09ae8a6139 (patch) | |
tree | 604584365c107dcb5880f06d43b58f7580c55010 /Doc/library/fractions.rst | |
parent | 45f53370e7724282f136db6e547cf48b79f9186b (diff) | |
download | cpython-36ab1ef8ee1006596937198e8f149e09ae8a6139.zip cpython-36ab1ef8ee1006596937198e8f149e09ae8a6139.tar.gz cpython-36ab1ef8ee1006596937198e8f149e09ae8a6139.tar.bz2 |
Merged revisions 68219 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68219 | georg.brandl | 2009-01-03 21:47:01 +0100 (Sat, 03 Jan 2009) | 2 lines
Fix uses of the default role.
........
Diffstat (limited to 'Doc/library/fractions.rst')
-rw-r--r-- | Doc/library/fractions.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst index 0861e68..68a8ef6 100644 --- a/Doc/library/fractions.rst +++ b/Doc/library/fractions.rst @@ -126,11 +126,11 @@ another rational number, or from a string. .. function:: gcd(a, b) - Return the greatest common divisor of the integers `a` and `b`. If - either `a` or `b` is nonzero, then the absolute value of `gcd(a, - b)` is the largest integer that divides both `a` and `b`. `gcd(a,b)` - has the same sign as `b` if `b` is nonzero; otherwise it takes the sign - of `a`. `gcd(0, 0)` returns `0`. + Return the greatest common divisor of the integers *a* and *b*. If either + *a* or *b* is nonzero, then the absolute value of ``gcd(a, b)`` is the + largest integer that divides both *a* and *b*. ``gcd(a,b)`` has the same + sign as *b* if *b* is nonzero; otherwise it takes the sign of *a*. ``gcd(0, + 0)`` returns ``0``. .. seealso:: |