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

Method __str__

QLabel/Lib/NinePatch.py:43–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41class ExceptionIncorrectWidthAndHeight(_Exception):
42
43 def __str__(self):
44 return "Input incorrect width width and height. Minimum width = :{imgW} . Minimum height = :{imgH}".format(
45 imgW=self.imgW, imgH=self.imgH)
46
47
48class ExceptionIncorrectHeight(_Exception):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected