MCPcopy Create free account
hub / github.com/PyQt5/PyQt / check

Method check

Demo/VerificationCode.py:58–59  ·  view source on GitHub ↗
(self, code)

Source from the content-addressed store, hash-verified

56 self.setText(self._code)
57
58 def check(self, code):
59 return self._code == str(code) if self._sensitive else self._code.lower() == str(code).lower()
60
61 def setSensitive(self, sensitive):
62 self._sensitive = sensitive

Callers 2

cFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected