Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/paramiko/paramiko
/ close
Method
close
tests/_loop.py:40–47 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
38
self._closed = False
39
40
def
close(self):
41
self.__unlink()
42
self._closed = True
43
try
:
44
self.__lock.acquire()
45
self.__in_buffer = bytes()
46
finally:
47
self.__lock.release()
48
49
def
send(self, data):
50
data = asbytes(data)
Callers
15
server
Function · 0.95
tearDown
Method · 0.45
test_exec_command
Method · 0.45
test_channel_can_be_used_as_context_manager
Method · 0.45
test_invoke_shell
Method · 0.45
test_exit_status
Method · 0.45
test_select
Method · 0.45
test_renegotiate
Method · 0.45
test_compression
Method · 0.45
test_x11
Method · 0.45
test_reverse_port_forwarding
Method · 0.45
test_port_forwarding
Method · 0.45
Calls
1
__unlink
Method · 0.95
Tested by
15
tearDown
Method · 0.36
test_exec_command
Method · 0.36
test_channel_can_be_used_as_context_manager
Method · 0.36
test_invoke_shell
Method · 0.36
test_exit_status
Method · 0.36
test_select
Method · 0.36
test_renegotiate
Method · 0.36
test_compression
Method · 0.36
test_x11
Method · 0.36
test_reverse_port_forwarding
Method · 0.36
test_port_forwarding
Method · 0.36
test_stderr_select
Method · 0.36