MCPcopy Create free account
hub / github.com/ImageEngine/cortex / __validateVersion

Method __validateVersion

python/IECore/ClassLoader.py:298–301  ·  view source on GitHub ↗
( version )

Source from the content-addressed store, hash-verified

296 # throws an exception if the version is no good
297 @staticmethod
298 def __validateVersion( version ) :
299
300 if not type( version ) is int :
301 raise TypeError( "Version must be an integer" )
302

Callers 1

setDefaultVersionMethod · 0.95

Calls 1

typeFunction · 0.85

Tested by

no test coverage detected