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