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