def _read_nbio(self, size=1024): # type: (int) -> bytes if size <= 0: raise ValueError('size <= 0') return m2.ssl_read_nbio(self.ssl, size)
def _read_nbio(self, size=1024): if size <= 0: raise ValueError, 'size <= 0' return m2.ssl_read_nbio(self.ssl, size)