Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ name
Method
name
Lib/socket.py:787–791 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
785
786
@property
787
def
name(self):
788
if
not self.closed:
789
return
self.fileno()
790
else
:
791
return
-1
792
793
@property
794
def
mode(self):
Callers
nothing calls this directly
Calls
1
fileno
Method · 0.95
Tested by
no test coverage detected