pymongo
's vague docs say update
's return value is:
A document (dict) describing the effect of the update or None if write acknowledgement is disabled.
(Not explicitly stated but) this means that the return value is lastError
(unless you use safe=True
).