From 567be84f95b1135d425d5ae09d466f1ded92a525 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 29 Oct 2001 22:37:17 +0000 Subject: [PATCH] Use key_size of None for variable-size keys --- pep-0272.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0272.txt b/pep-0272.txt index 25ae5101a..8c9d86310 100644 --- a/pep-0272.txt +++ b/pep-0272.txt @@ -79,7 +79,7 @@ Specification key_size An integer value; the size of the keys required by this - module. If key_size is zero, then the algorithm accepts + module. If key_size is None, then the algorithm accepts arbitrary-length keys. You cannot pass a key of length 0 (that is, the null string '') as such a variable-length key.