MCPcopy Index your code
hub / github.com/python/cpython / norm

Method norm

Lib/test/test_unicode_file_functions.py:81–84  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

79 self.files = files
80
81 def norm(self, s):
82 if self.normal_form:
83 return normalize(self.normal_form, s)
84 return s
85
86 def _apply_failure(self, fn, filename,
87 expected_exception=FileNotFoundError,

Callers 1

setUpMethod · 0.95

Calls 1

normalizeFunction · 0.50

Tested by

no test coverage detected