Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fluentpython/example-code-2e
/ fold_equal
Function
fold_equal
04-text-byte/normeq.py:37–39 ·
view source on GitHub ↗
(str1, str2)
Source
from the content-addressed store, hash-verified
35
return
normalize(
'NFC'
, str1) == normalize(
'NFC'
, str2)
36
37
def
fold_equal(str1, str2):
38
return
(normalize(
'NFC'
, str1).casefold() ==
39
normalize(
'NFC'
, str2).casefold())
Callers
nothing calls this directly
Calls
1
normalize
Function · 0.85
Tested by
no test coverage detected