def f(): "Here's a line ending in a question mark?" ... def f(): """Here's a line ending in an exclamation mark!""" ... def f(): """Here's a line ending in a colon:""" ... def f(): """Here's a line ending in a semi colon;""" ... def f(): """Here's a line ending with a whitespace """ ...