diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-18 23:41:33 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-18 23:41:33 (GMT) |
commit | dbe6042f0a5b8c193efbd75cab0733bbadad4efd (patch) | |
tree | 29dfb9578fdcdb4134bed3f8ce329001f777960e /Doc/whatsnew/3.2.rst | |
parent | c732e3ba08c2f47740c60c89a1a6ab26a6f005ad (diff) | |
download | cpython-dbe6042f0a5b8c193efbd75cab0733bbadad4efd.zip cpython-dbe6042f0a5b8c193efbd75cab0733bbadad4efd.tar.gz cpython-dbe6042f0a5b8c193efbd75cab0733bbadad4efd.tar.bz2 |
what's new 3.2: use :mod:
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 7364e27..3927f4b 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -66,9 +66,9 @@ Some smaller changes made to the core Python language are: New, Improved, and Deprecated Modules ===================================== -* The functools module now includes a new decorator for caching function calls. - :func:`functools.lru_cache` can save repeated queries to an external resource - whenever the results are expected to be the same. +* The :mod:`functools` module now includes a new decorator for caching + function calls. :func:`functools.lru_cache` can save repeated queries to an + external resource whenever the results are expected to be the same. For example, adding a caching decorator to a database query function can save database accesses for popular searches:: @@ -133,7 +133,7 @@ New, Improved, and Deprecated Modules (Added by Antoine Pitrou; :issue:`8524`.) -* The *sqlite3* module has some new features: +* The :mod:`sqlite3` module has some new features: * XXX *enable_load_extension* |