FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-141510, PEP 814: Add built-in frozendict type by vstinner · Pull Request #144757 · python/cpython · GitHub

/ cpython Public
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Benedikt Johannes <benedikt.johannes.hofer@gmail.com>
  • Loading branch information
vstinner and benediktjohannes authored Feb 16, 2026
commit 5bc207aa20ac6cdfe6bbce18b9bc07e1475b5e9e
4 changes: 2 additions & 2 deletions Lib/test/mapping_tests.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _empty_mapping(self):
"""Return an empty mapping object"""
return self.type2test()
def _full_mapping(self, data):
"""Return a mapping object with the value contained in data
"""Return a mapping object with the values contained in data
dictionary"""
return self.type2test(data)

Expand Down Expand Up @@ -144,7 +144,7 @@ def test_get(self):

class BasicTestMappingProtocol(BasicTestImmutableMappingProtocol):
def _full_mapping(self, data):
"""Return a mapping object with the value contained in data
"""Return a mapping object with the values contained in data
dictionary"""
x = self._empty_mapping()
for key, value in data.items():
Expand Down
Loading

Back | FazBrowse Home | New Git URL