Skip to content

Commit 05fbb29

Browse files
authored
Newline to separate interactive section, like above examples
1 parent 299ecee commit 05fbb29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/tutorial/classes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ is to use :mod:`dataclasses` for this purpose::
750750
salary: int
751751

752752
john = Employee("john", "computer lab", 1000)
753+
753754
>>> john.dept
754755
# "computer lab"
755756
>>> john.salary

0 commit comments

Comments
 (0)