comparison shasum.py @ 42:e5f6af8364db

Typo in docs
author Franz Glasner <f.glasner@feldmann-mg.com>
date Tue, 18 Jan 2022 12:14:15 +0100
parents ffcce6062bee
children d856432a1cbb
comparison
equal deleted inserted replaced
41:36782a2abb66 42:e5f6af8364db
272 else: 272 else:
273 return None 273 return None
274 274
275 275
276 def argv2algo(s): 276 def argv2algo(s):
277 """Convert a commane line algorithm specifier into a tuple with the 277 """Convert a command line algorithm specifier into a tuple with the
278 type/factory of the digest and the algorithms tag for output purposes. 278 type/factory of the digest and the algorithms tag for output purposes.
279 279
280 :param str s: the specifier from the commane line 280 :param str s: the specifier from the commane line
281 :return: the internal digest specification 281 :return: the internal digest specification
282 :rtype: a tuple (digest_type_or_factory, name_in_output) 282 :rtype: a tuple (digest_type_or_factory, name_in_output)