summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/codecs.rst3
-rw-r--r--Doc/library/http.cookies.rst6
-rw-r--r--Doc/library/os.rst2
3 files changed, 9 insertions, 2 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 42273051..29f0350 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -285,7 +285,8 @@ Codec Base Classes
------------------
The :mod:`codecs` module defines a set of base classes which define the
-interface and can also be used to easily write you own codecs for use in Python.
+interface and can also be used to easily write your own codecs for use in
+Python.
Each codec has to define four interfaces to make it usable as codec in Python:
stateless encoder, stateless decoder, stream reader and stream writer. The
diff --git a/Doc/library/http.cookies.rst b/Doc/library/http.cookies.rst
index 533e963..9bffa40 100644
--- a/Doc/library/http.cookies.rst
+++ b/Doc/library/http.cookies.rst
@@ -17,6 +17,12 @@ The module formerly strictly applied the parsing rules described in the
MSIE 3.0x doesn't follow the character rules outlined in those specs. As a
result, the parsing rules used are a bit less strict.
+.. note::
+
+ On encountering an invalid cookie, :exc:`CookieError` is raised, so if your
+ cookie data comes from a browser you should always prepare for invalid data
+ and catch :exc:`CookieError` on parsing.
+
.. exception:: CookieError
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 844f488..33d42da 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1748,7 +1748,7 @@ Miscellaneous System Information
Return the number of processes in the system run queue averaged over the last
1, 5, and 15 minutes or raises :exc:`OSError` if the load average was
- unobtainable.
+ unobtainable. Availability: Unix.
.. function:: sysconf(name)