This commit is contained in:
A. Jesse Jiryu Davis 2014-11-10 17:48:53 -05:00
parent 8925aec75d
commit 5e60982cf8

View File

@ -18,9 +18,9 @@ effort to release at least one minor version that *deprecates* it. We add
`DeprecationWarning`_. You can ensure your code is future-proof by running
your code with the latest PyMongo release and looking for DeprecationWarnings.
The Python interpreter silences DeprecationWarnings by default. For example,
the following code uses the deprecated ``slave_okay`` option but does not
raise any warning:
Starting with Python 2.7, the interpreter silences DeprecationWarnings by
default. For example, the following code uses the deprecated ``slave_okay``
option but does not raise any warning:
.. code-block:: python