original_docstring: Check the arguments passed to start() and raise if they're wrong.
  
          Args:
              target: A Target enum member.
              args: Arguments for userscript/download
          
docstring: Check the arguments passed to start() and raise if they're wrong.
docstring_tokens: Check the arguments passed to start () and raise if they ' re wrong .
code: def _check_args(self, target: Target, *args: str) -> None:
          """Check the arguments passed to start() and raise if they're wrong.
  
          Args:
              target: A Target enum member.
              args: Arguments for userscript/download
          """
          if not isinstance(target, Target):
              raise TypeError("Target {} is no Target member!".format(target))
          if target in [Target.userscript, Target.spawn, Target.run,
                        Target.fill]:
              if not args:
                  raise cmdutils.CommandError(
                      "'args' is required with target userscript/spawn/run/"
                      "fill.")
          else:
              if args:
                  raise cmdutils.CommandError(
                      "'args' is only allowed with target userscript/spawn.")
code_tokens: def _check_args ( self , target : Target , * args : str ) -> None : if not isinstance ( target , Target ) : raise TypeError ( "Target {} is no Target member!" . format ( target ) ) if target in [ Target . userscript , Target . spawn , Target . run , Target . fill ] : if not args : raise cmdutils . CommandError ( "'args' is required with target userscript/spawn/run/" "fill." ) else : if args : raise cmdutils . CommandError ( "'args' is only allowed with target userscript/spawn." )
short_docstring: Check the arguments passed to start() and raise if they're wrong.
short_docstring_tokens: Check the arguments passed to start () and raise if they ' re wrong .
comment: """Check the arguments passed to start() and raise if they're wrong.
  
          Args:
              target: A Target enum member.
              args: Arguments for userscript/download
          """