From 1bac2f67de6cd1668890845b67bf6831bcd5fa44 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 6 Feb 2019 22:33:30 +0000 Subject: [PATCH] Add type hints to SCRAM ctor (sasl.scram) --- modules/sasl/scram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)