mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #25523: Merge a-to-an corrections from 3.4.
This commit is contained in:
commit
a84f6c3dd3
34 changed files with 39 additions and 39 deletions
|
@ -603,7 +603,7 @@ class DictTest(unittest.TestCase):
|
|||
# (D) subclass defines __missing__ method returning a value
|
||||
# (E) subclass defines __missing__ method raising RuntimeError
|
||||
# (F) subclass sets __missing__ instance variable (no effect)
|
||||
# (G) subclass doesn't define __missing__ at a all
|
||||
# (G) subclass doesn't define __missing__ at all
|
||||
class D(dict):
|
||||
def __missing__(self, key):
|
||||
return 42
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue