MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/test/test_ftplib.py:443–446  ·  view source on GitHub ↗
(self, conn, baseclass)

Source from the content-addressed store, hash-verified

441 """A DummyDTPHandler subclass supporting TLS/SSL."""
442
443 def __init__(self, conn, baseclass):
444 DummyDTPHandler.__init__(self, conn, baseclass)
445 if self.baseclass.secure_data_channel:
446 self.secure_connection()
447
448
449 class DummyTLS_FTPHandler(SSLConnection, DummyFTPHandler):

Callers

nothing calls this directly

Calls 2

secure_connectionMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected