diff options
| author | 2019-02-06 22:33:30 +0000 | |
|---|---|---|
| committer | 2019-02-06 22:33:30 +0000 | |
| commit | 1bac2f67de6cd1668890845b67bf6831bcd5fa44 (patch) | |
| tree | 4c7de8a8b1924968de1a08a710e57c894d240225 /modules | |
| parent | Restrict scram algorithms to IANA Hash Function Textual Names (sasl.scram) (diff) | |
| signature | ||
Add type hints to SCRAM ctor (sasl.scram)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/sasl/scram.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sasl/scram.py b/modules/sasl/scram.py index 2f66e44d..ffe5a9f0 100644 --- a/modules/sasl/scram.py +++ b/modules/sasl/scram.py @@ -27,7 +27,7 @@ class SCRAMError(Exception): pass class SCRAM(object): - def __init__(self, algo, username, password): + def __init__(self, algo: str, username: str, password: str): if not algo in ALGORITHMS: raise ValueError("Unknown SCRAM algorithm '%s'" % algo) |
