PYTHON-1388 fix docs example. (#338)

This commit is contained in:
TaoBeier 2017-10-06 12:27:14 -05:00 committed by Shane Harvey
parent dad61a058b
commit 2847ef89f1
2 changed files with 4 additions and 3 deletions

View File

@ -80,4 +80,5 @@ The following is a list of people who have contributed to
- ultrabug
- Shane Harvey (ShaneHarvey)
- Cao Siyang (caosiyang)
- Zhecong Kwok (gzcf)
- Zhecong Kwok (gzcf)
- TaoBeier(tao12345666333)

View File

@ -36,7 +36,7 @@ Credentials can be specified as arguments to
>>> from pymongo import MongoClient
>>> client = MongoClient('example.com',
... user='user',
... username='user',
... password='password',
... authSource='the_database',
... authMechanism='SCRAM-SHA-1')
@ -59,7 +59,7 @@ the "MongoDB Challenge-Response" protocol::
>>> from pymongo import MongoClient
>>> client = MongoClient('example.com',
... user='user',
... username='user',
... password='password',
... authMechanism='MONGODB-CR')
>>>