@timeout
    @defer.inlineCallbacks
    def create_collection(self, name, options=None, **kwargs):
        collection = Collection(self, name)

        if options:
            if options in "size":
                options["size"] = float(options["size"])
            options.update(kwargs)
            yield self.command("create", name, **options)

        defer.returnValue(collection)
dataset/ETHPy150Open twisted/txmongo/txmongo/database.py/Database.create_collection/swapped operands of `in`