summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2012-07-14 16:08:42 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2012-07-14 16:08:42 -0700
commit8b3c2f2c51183bde47bd1e98057b77866f35dd6e (patch)
tree373140af1f9ebe955cf7d052f74c1b4f988938a3 /docs/ref
parent9877d25dc67b9c852e1a69ece6153894d4c9d1d1 (diff)
Deprecate two methods (which I seriously doubt anyone ever used, but they were documented so...) because they cannot be implemented efficiently on top of collections.SortedDict in Python 2.7 and up.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index c74392df36..c2f2025bc3 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -112,10 +112,14 @@ to distinguish caches by the ``Accept-language`` header.
.. method:: insert(index, key, value)
+ .. deprecated:: 1.5
+
Inserts the key, value pair before the item with the given index.
.. method:: value_for_index(index)
+ .. deprecated:: 1.5
+
Returns the value of the item at the given zero-based index.
Creating a new SortedDict