diff --git a/tsafe.py b/tsafe.py index 9d7ad2f..3a9c710 100644 --- a/tsafe.py +++ b/tsafe.py @@ -8,7 +8,7 @@ del threading class Connection: def __init__(self, *args): - self._ssl_conn = apply(_ssl.Connection, args) + self._ssl_conn = _ssl.Connection(*args) self._lock = _RLock() for f in ('get_context', 'pending', 'send', 'write', 'recv', 'read',