Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ cmd_pass
Method
cmd_pass
Lib/test/test_poplib.py:98–101 ·
view source on GitHub ↗
(self, arg)
Source
from the content-addressed store, hash-verified
96
self.push(
'+OK password required'
)
97
98
def
cmd_pass(self, arg):
99
if
arg !=
"python"
:
100
self.push(
"-ERR wrong password"
)
101
self.push(
'+OK 10 messages'
)
102
103
def
cmd_stat(self, arg):
104
self.push(
'+OK 10 100'
)
Callers
nothing calls this directly
Calls
1
push
Method · 0.95
Tested by
no test coverage detected