Skip to content

Commit

Permalink
Fixed comment about conditional methods in DictView
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Apr 12, 2021
1 parent d866122 commit 0c16f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions immutable_views/_dict_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ def __le__(self, other):
return self._dict <= other_dict


# Remove methods that should only be present under certain circumstances,
# except if the documentation is built.
# Remove methods that should be present only under certain conditions, and when
# building the documentation.

if not _DICT_SUPPORTS_ITER_VIEW and not _BUILDING_DOCS:
del DictView.iterkeys
Expand Down

0 comments on commit 0c16f2f

Please sign in to comment.