tmt/utils.py
def version(self, version=None):
        """ Get or set the StructuredField version """
        if version is not None:
            if version in [0, 1]:
                self._version = version
            else:
                raise StructuredFieldError(
                        "Bad StructuredField version: {0}".format(version))
        return self._version
 Get or set the StructuredField version 
Get or set the StructuredField version
Get or set the StructuredField version
def version(self, version=None):
        if version is not None:
            if version in [0, 1]:
                self._version = version
            else:
                raise StructuredFieldError(
                        "Bad StructuredField version: {0}".format(version))
        return self._version
def version ( self , version = None ) : if version is not None : if version in [ 0 , 1 ] : self . _version = version else : raise StructuredFieldError ( "Bad StructuredField version: {0}" . format ( version ) ) return self . _version
Get or set the StructuredField version
Get or set the StructuredField version
""" Get or set the StructuredField version """
self
version