tests/basics/dict_pop.py: Remove extra comma in call and fix grammar.

This commit is contained in:
David Lechner 2020-03-26 21:07:33 -05:00 committed by Damien George
parent 1a3e386c67
commit 688323307a
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ print(d.pop(1, 42), d)
print(d.pop(1, 42), d) print(d.pop(1, 42), d)
print(d.pop(1, None), d) print(d.pop(1, None), d)
try: try:
print(d.pop(1), "!!!",) print(d.pop(1), "!!!")
except KeyError: except KeyError:
print("Raised KeyError") print("Raised KeyError")
else: else:
print("Did not rise KeyError!") print("Did not raise KeyError!")