Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ isalnum
Method
isalnum
crates/vm/src/builtins/str.rs:947–949 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
945
946
#[pymethod]
947
fn isalnum(&self) -> bool {
948
!self.data.is_empty() && self.char_all(char::is_alphanumeric)
949
}
950
951
#[pymethod]
952
fn isnumeric(&self) -> bool {
Callers
nothing calls this directly
Calls
2
char_all
Method · 0.80
is_empty
Method · 0.45
Tested by
no test coverage detected