def get_conn_maxsize(self, which, maxsize):
        if maxsize is None:
            maxsize = 1024
        elif maxsize < 1:
            maxsize = 1
        return getattr(self, which), maxsize
dataset/ETHPy150Open adblockplus/gyp/test/lib/TestCmd.py/Popen.get_conn_maxsize/original