parameters: (self, subdir)
docstring: Set subdir to 'new' or 'cur'.
docstring_summary: Set subdir to 'new' or 'cur'.
docstring_tokens: Set subdir to new or cur .
function: def set_subdir(self, subdir):
          """Set subdir to 'new' or 'cur'."""
          if subdir == 'new' or subdir == 'cur':
              self._subdir = subdir
          else:
              raise ValueError("subdir must be 'new' or 'cur': %s" % subdir)
function_tokens: def set_subdir ( self , subdir ) : if subdir == 'new' or subdir == 'cur' : self . _subdir = subdir else : raise ValueError ( "subdir must be 'new' or 'cur': %s" % subdir )