Commit 2c118d59 authored by Fred Drake's avatar Fred Drake

Move brief descriptions of what() and whathdr() to docstrings in the

functions (from comments).
parent e5017e30
......@@ -31,20 +31,14 @@ explicitly given directories.
# subroutine come last.
#--------------------------------#
# Guess the type of a sound file #
#--------------------------------#
def what(filename):
"""Guess the type of a sound file"""
res = whathdr(filename)
return res
#-------------------------#
# Recognize sound headers #
#-------------------------#
def whathdr(filename):
"""Recognize sound headers"""
f = open(filename, 'r')
h = f.read(512)
for tf in tests:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment