Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Update example to use single quotes
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
JosephSBoyle and AlexWaygood authored Dec 24, 2022
commit 38af6b6a3996a958fe1488db724394734e225c10
2 changes: 1 addition & 1 deletion Doc/tutorial/classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ is to use :mod:`dataclasses` for this purpose::

::

>>> john = Employee("john", "computer lab", 1000)
>>> john = Employee('john', 'computer lab', 1000)
>>> john.dept
'computer lab'
>>> john.salary
Expand Down