From 5eb7fa1a7816c719e516a24fdec212289854e9c2 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 8 Dec 2018 06:28:46 +1100 Subject: [PATCH] Stopped code highlighting --- docs/deprecations.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/deprecations.rst b/docs/deprecations.rst index 412bcb591..8d0ccbf37 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -18,7 +18,9 @@ Setting the size of TIFF images .. deprecated:: 5.3.0 Setting the image size of a TIFF image (eg. ``im.size = (256, 256)``) issues -a ``DeprecationWarning``:: +a ``DeprecationWarning``: + +.. code-block:: none Setting the size of a TIFF image directly is deprecated, and will be removed in a future version. Use the resize method instead. @@ -58,7 +60,9 @@ PIL.OleFileIO The vendored version of olefile has been removed. Attempting to import ``PIL.OleFileIO`` issues a ``DeprecationWarning`` (from 4.0.0) or raises -``ImportError`` (from 5.0.0):: +``ImportError`` (from 5.0.0): + +.. code-block:: none PIL.OleFileIO is deprecated. Use the olefile Python package instead. This module will be removed in a future version.