mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #25523: Further a-to-an corrections.
This commit is contained in:
parent
7462b64911
commit
d65c9496da
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