original_docstring: Create a story from a list of events.
docstring: Create a story from a list of events.
docstring_tokens: Create a story from a list of events .
code: def from_events(events):
          """Create a story from a list of events."""
  
          story_step = StoryStep()
          for event in events:
              story_step.add_event(event)
          return Story([story_step])
code_tokens: def from_events ( events ) : story_step = StoryStep ( ) for event in events : story_step . add_event ( event ) return Story ( [ story_step ] )
short_docstring: Create a story from a list of events.
short_docstring_tokens: Create a story from a list of events .
comment: """Create a story from a list of events."""