summaryrefslogtreecommitdiff
path: root/src/webob
diff options
context:
space:
mode:
authorIra Lun <sammyrosajoe@gmail.com>2017-08-29 23:05:57 +0100
committerIra Lun <sammyrosajoe@gmail.com>2017-08-29 23:05:57 +0100
commit656159cc314ba68d20fcdb8529285ac6082f248d (patch)
tree007fc3533121f12b7ae12b6a64c4f15620b74dac /src/webob
parent6908090ac5010ea2c5e7e7fc91168ed5e32d4ce1 (diff)
downloadwebob-656159cc314ba68d20fcdb8529285ac6082f248d.tar.gz
Correct method calls in examples.
Diffstat (limited to 'src/webob')
-rw-r--r--src/webob/acceptparse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webob/acceptparse.py b/src/webob/acceptparse.py
index 8df57c6..76c3f45 100644
--- a/src/webob/acceptparse.py
+++ b/src/webob/acceptparse.py
@@ -3900,9 +3900,9 @@ class AcceptLanguageValidHeader(AcceptLanguage):
and ranges with at most two subtags. So with an `item`/language tag
with more than two subtags like ``zh-Hans-CN``::
- >>> instance._match(mask='zh', item='zh-Hans-CN')
+ >>> instance._old_match(mask='zh', item='zh-Hans-CN')
True
- >>> instance._match(mask='zh-Hans', item='zh-Hans-CN')
+ >>> instance._old_match(mask='zh-Hans', item='zh-Hans-CN')
False
From commit history, this does not appear to have been from a