summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-04-26 16:00:15 +0200
committerClaude Paroz <claude@2xlibre.net>2014-04-26 16:03:40 +0200
commite441cebce340f54741be957817cc034000deab3c (patch)
tree0a1b9730a86f6a3660961e220cd099494f9fd8f2 /docs/ref/utils.txt
parentabd68b5affaec35e941b49f1b0a4cb8d70c22d7b (diff)
[1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
Diffstat (limited to 'docs/ref/utils.txt')
-rw-r--r--docs/ref/utils.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 056f851003..1c0a1b6368 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -133,8 +133,8 @@ results. Instead do::
The functions defined in this module share the following properties:
-- They raise :exc:`~exceptions.ValueError` if their input is well formatted but
- isn't a valid date or time.
+- They raise :exc:`ValueError` if their input is well formatted but isn't a
+ valid date or time.
- They return ``None`` if it isn't well formatted at all.
- They accept up to picosecond resolution in input, but they truncate it to
microseconds, since that's what Python supports.
@@ -692,7 +692,9 @@ escaping HTML.
.. function:: int_to_base36(i)
Converts a positive integer to a base 36 string. On Python 2 ``i`` must be
- smaller than :data:`sys.maxint`.
+ smaller than `sys.maxint`_.
+
+ .. _sys.maxint: http://docs.python.org/2/library/sys.html#sys.maxint
.. function:: urlsafe_base64_encode(s)