'**DEPRECATED**: Get status information from the last operation.
This method is obsolete: all MongoDB write operations (insert, update,
remove, and so on) use the write concern ``w=1`` and report their
errors by default.
Returns a SON object with status information.
.. versionchanged:: 2.8
Deprecated.'

def last_status(self):

    warnings.warn('last_status()    is    deprecated', DeprecationWarning, stacklevel=2)
    return self.command('getlasterror')
