mirror of
https://github.com/python/cpython
synced 2026-09-29 11:10:30 +03: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 @@ print B1
|
|||
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