Where is the implementation of the str.casefold() method in the python source code? I searched for the string "casefold" in the github repository cpython. I found a test but not the definition of the method.
https://docs.python.org/3/library/stdtypes.html#str.casefold
https://github.com/python/cpython
CodePudding user response:
The casefold dispatcher is implemented there, you can just look up the functions it dispatches to.