eric7/HexEdit/HexEditWidget.py

branch
eric7
changeset 9171
fd2218f08066
parent 9162
8b75b1668583
equal deleted inserted replaced
9170:46523f488d07 9171:fd2218f08066
417 @type bytes, bytearray, QByteArray or QIODevice 417 @type bytes, bytearray, QByteArray or QIODevice
418 @return flag indicating success 418 @return flag indicating success
419 @rtype bool 419 @rtype bool
420 @exception TypeError raised to indicate a wrong parameter type 420 @exception TypeError raised to indicate a wrong parameter type
421 """ 421 """
422 if not isinstance(dataOrDevice, (bytes, bytearray, QByteArray, 422 if not isinstance(dataOrDevice, (bytes, bytearray, QByteArray,
423 QIODevice)): 423 QIODevice)):
424 raise TypeError( 424 raise TypeError(
425 "setData: parameter must be bytes, bytearray, " 425 "setData: parameter must be bytes, bytearray, "
426 "QByteArray or QIODevice") 426 "QByteArray or QIODevice")
427 427

eric ide

mercurial