diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index f74e1639a2..9112cd4ff9 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -675,7 +675,7 @@ escaping HTML.
 .. module:: django.utils.http
    :synopsis: HTTP helper functions. (URL encoding, cookie handling, ...)
 
-.. function:: urlencode(query, doseq=0)
+.. function:: urlencode(query, doseq=False)
 
     A version of Python's :func:`urllib.parse.urlencode` function that can
     operate on ``MultiValueDict`` and non-string values.