1751
1751
This generally shouldn't be used in production code, but it can be helpful
1755
1755
raise TypeError('key %r is not StaticTuple but %s' % (key, type(key)))
1757
1757
raise ValueError('key %r should have length 1, not %d' % (key, len(key),))
1759
1759
raise TypeError('key %r should hold a str, not %r'
1761
1761
if not key[0].startswith('sha1:'):