parameters: (obj)
docstring: Check version info when remote option
docstring_summary: Check version info when remote option
docstring_tokens: Check version info when remote option
function: def check_version(obj):
      """
      Check version info when remote option
      """
      if not isinstance(obj, str):
          raise ValueError(Errors.ILLEGAL['gauss_0602'] % 'path type')
      if not obj.isdigit():
          raise ValueError(Errors.ILLEGAL['gauss_0603'] % ('version info', 'digit'))
function_tokens: def check_version ( obj ) : if not isinstance ( obj , str ) : raise ValueError ( Errors . ILLEGAL [ 'gauss_0602' ] % 'path type' ) if not obj . isdigit ( ) : raise ValueError ( Errors . ILLEGAL [ 'gauss_0603' ] % ( 'version info' , 'digit' ) )