code: def _stub_task(self, description, tags=None, **kw):
          
  
          # If whitespace is not removed here, TW will do it when we pass the
          # task to it.
          task = {"description": description.strip()}
  
          # Allow passing "tags" in as part of kw.
          if 'tags' in kw and tags is None:
              task['tags'] = tags
              del(kw['tags'])
  
          if tags is not None:
              task['tags'] = tags
  
          task.update(kw)
  
          # Only UNIX timestamps are currently supported.
          if 'due' in kw:
              task['due'] = str(task['due'])
  
          return task
docs: Given a description, stub out a task dict.