~ubuntu-branches/ubuntu/precise/python3.2/precise

« back to all changes in this revision

Viewing changes to Lib/hashlib.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-02-14 16:12:14 UTC
  • mfrom: (10.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110214161214-f5vwa226kebccmt9
Tags: 3.2~rc3-1
Python 3.2 release candidate 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
# always available algorithm is added.
57
57
__always_supported = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
58
58
 
59
 
algorithms_guaranteed = __always_supported
60
 
algorithms_available = frozenset(__always_supported)
 
59
algorithms_guaranteed = set(__always_supported)
 
60
algorithms_available = set(__always_supported)
61
61
 
62
62
__all__ = __always_supported + ('new', 'algorithms_guaranteed',
63
63
                                'algorithms_available')