summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-04-21 07:17:42 +0300
committerDB Tsai, Apache Spark Committer <dbtsai@dbtsai.com>2016-04-20 21:17:42 -0700
commitcbf1c8686fdef2b1459b714d49856338f63c574e (patch)
tree7c2ca22ba3cd5cf55b6ddbf3bc79efbb861316af
parent5cc99617c1a4d4cb859a66f9e5fd140f2fcf4f9b (diff)
downloadpython-mimeparse-cbf1c8686fdef2b1459b714d49856338f63c574e.tar.gz
Spelling fix (#15)
-rw-r--r--mimeparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mimeparse.py b/mimeparse.py
index 1f06777..3563249 100644
--- a/mimeparse.py
+++ b/mimeparse.py
@@ -120,7 +120,7 @@ def quality_parsed(mime_type, parsed_ranges):
Find the best match for a given mime-type against a list of media_ranges
that have already been parsed by parse_media_range(). Returns the 'q'
quality parameter of the best match, 0 if no match was found. This function
- bahaves the same as quality() except that 'parsed_ranges' must be a list of
+ behaves the same as quality() except that 'parsed_ranges' must be a list of
parsed media ranges. """
return quality_and_fitness_parsed(mime_type, parsed_ranges)[0]