Meaning:

```python
def __init__(self, key, msg=None, hash_cls=None):
    if hash_cls is None: raise error()
```

?


On Mon, Oct 28, 2013 at 6:24 AM, Donald Stufft <notifications@github.com>wrote:

> In cryptography/primitives/hmac.py:
>
> > +# Unless required by applicable law or agreed to in writing, software
> > +# distributed under the License is distributed on an "AS IS" BASIS,
> > +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> > +# implied.
> > +# See the License for the specific language governing permissions and
> > +# limitations under the License.
> > +
> > +from __future__ import absolute_import, division, print_function
> > +
> > +import binascii
> > +
> > +import six
> > +
> > +
> > +class HMAC(object):
> > +    def __init__(self, key, hash_cls, data=None, ctx=None, backend=None):
>
> Unless we just make hash_cls a required keyword argument (and rename it to
> digestmod).
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/157/files#r7247222>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084