summaryrefslogtreecommitdiffstats
path: root/Modules/rotormodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/rotormodule.c')
-rw-r--r--Modules/rotormodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c
index b3511d8..b1fef39 100644
--- a/Modules/rotormodule.c
+++ b/Modules/rotormodule.c
@@ -583,7 +583,7 @@ rotorobj_setkey(self, args)
{
char *key;
- if (!PyArg_ParseTuple(args, "s", &key))
+ if (!PyArg_ParseTuple(args, "s:setkey", &key))
return NULL;
set_key(self, key);
@@ -639,7 +639,7 @@ rotor_rotor(self, args)
int len;
int num_rotors = 6;
- if (!PyArg_ParseTuple(args, "s#|i", &string, &len, &num_rotors))
+ if (!PyArg_ParseTuple(args, "s#|i:newrotor", &string, &len, &num_rotors))
return NULL;
r = rotorobj_new(num_rotors, string);