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
Next Next commit
Missing article
  • Loading branch information
rhettinger committed Nov 6, 2020
commit 3f329c589e6e20f160aac21c1bdea805915ab458
2 changes: 1 addition & 1 deletion Doc/howto/descriptor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ attributes stored in ``__slots__``::

class Immutable:

__slots__ = ('_dept', '_name') # Replace instance dictionary
__slots__ = ('_dept', '_name') # Replace the instance dictionary

def __init__(self, dept, name):
self._dept = dept # Store to private attribute
Expand Down