Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@ longer_expression # => long_return_val
really_long_expression # => really_long_return_val
```

When an expression will result in printed terminal output, this should be written after the expression and a blank line. Each line of output should be commented out with the hash sign at the beginning of the line, a space, and then the terminal output. The implication sign should not be included.

For example
When an expression will result in printed terminal output, this should be written using the syntax above, with the console (`>`) sign in place of the implication sign. If output takes place over multiple lines, the console sign should appear _on the first line only_, and spacing should indicate that subsequent lines are printed from the same expression, as below:

```python
expression_that_prints_something

# Line 1 of output
# Line 2 of output
# Line 3 of output
exp_multiline_output() # > Line 1 of output
# Line 2 of output
# Line 3 of output
```

## Images
Expand Down