def close(self, cursor_id):
        if not isinstance(cursor_id, (int, long)):
            raise TypeError("cursor_id must be an instance of (int, long)")

        self.__dying_cursors.append(cursor_id)

        if len(self.__dying_cursors) > self.__max_dying_cursors:
            self.__connection().kill_cursors(self.__dying_cursors)
            self.__dying_cursors = []
Looks up the mime type for 'filename'.
dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/cursor_manager.py/BatchCursorManager.close--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/GetMimeTypeIfStaticFile