mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
<rotorobj>.setkey() now requires exactly one argument
This commit is contained in:
parent
9121ab9433
commit
5afafad82d
1 changed files with 4 additions and 1 deletions
|
|
@ -21,5 +21,8 @@
|
|||
if B1 <> B:
|
||||
print 'decryptmore failed'
|
||||
|
||||
r.setkey()
|
||||
try:
|
||||
r.setkey()
|
||||
except TypeError:
|
||||
pass
|
||||
r.setkey('you guessed it!')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue