diff --git a/doc/examples/authentication.rst b/doc/examples/authentication.rst index a46f95c789..5bd3282146 100644 --- a/doc/examples/authentication.rst +++ b/doc/examples/authentication.rst @@ -11,7 +11,7 @@ Percent-Escaping Username and Password -------------------------------------- Username and password must be percent-escaped with -:py:func:`urllib.parse.quote`, to be used in a MongoDB URI. For example:: +:py:func:`urllib.parse.quote_plus`, to be used in a MongoDB URI. For example:: >>> from pymongo import MongoClient >>> import urllib.parse