Lines Matching defs:Example
67 # 2. Example & DocTest
68 'Example',
111 # - Example: a <source, want> pair, plus an intra-docstring line number.
124 # | Example |
126 # | Example |
170 # 2. Example & DocTest -- store test cases
177 # 9. Example Usage
426 ## 2. Example & DocTest
430 ## "source." The Example class also includes information about
437 class Example:
440 output. `Example` defines the following attributes:
459 this Example where the Example begins. This line number is
653 # Create an Example, and add it to the list.
655 output.append( Example(source, want, exc_msg,
682 them as a list of `Example` objects. Line numbers are
691 if isinstance(x, Example)]
1353 self.debugger.set_continue() # ==== Example Finished ====
1359 self.debugger.set_continue() # ==== Example Finished ====
1736 - example: the Example object that failed
1755 - example: the Example object that failed
2536 Converts text with examples to a Python script. Example input is
2537 converted to regular code. Example output and all other words
2593 if isinstance(piece, Example):
2668 ## 9. Example Usage
2716 Example of a string object, searched as-is.