Skip to content

Commit

Permalink
Fix doctests.
Browse files Browse the repository at this point in the history
  • Loading branch information
behackett committed Feb 13, 2014
1 parent 2a44435 commit 1545129
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/examples/bulk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ describing the type and count of operations performed.
>>> result = bulk.execute()
>>> pprint(result)
{'nInserted': 3,
'nMatched': 2,
'nModified': 2,
'nRemoved': 10000,
'nMatched': 2,
'nUpserted': 1,
'upserted': [{u'_id': 4, u'index': 5}],
'writeConcernErrors': [],
Expand Down Expand Up @@ -105,9 +105,9 @@ the failure.
... pprint(bre.details)
...
{'nInserted': 0,
'nMatched': 1,
'nModified': 1,
'nRemoved': 0,
'nMatched': 1,
'nUpserted': 0,
'upserted': [],
'writeConcernErrors': [],
Expand Down Expand Up @@ -143,9 +143,9 @@ and fourth operations succeed.
... pprint(bre.details)
...
{'nInserted': 0,
'nMatched': 1,
'nModified': 1,
'nRemoved': 1,
'nMatched': 1,
'nUpserted': 0,
'upserted': [],
'writeConcernErrors': [],
Expand Down Expand Up @@ -182,9 +182,9 @@ regardless of execution order.
... pprint(bre.details)
...
{'nInserted': 4,
'nMatched': 0,
'nModified': 0,
'nRemoved': 0,
'nMatched': 0,
'nUpserted': 0,
'upserted': [],
'writeConcernErrors': [{u'code': 64,
Expand Down

0 comments on commit 1545129

Please sign in to comment.