[Python-modules-commits] [ipdb] 04/11: README - add syntax highlighting

Andrey Rahmatullin wrar at moszumanska.debian.org
Fri Aug 5 16:28:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

wrar pushed a commit to branch master
in repository ipdb.

commit 498d9cd28e68650104f7fc8ce4c41664cd924750
Author: Adam Chainz <me at adamj.eu>
Date:   Thu May 5 17:06:58 2016 +0100

    README - add syntax highlighting
    
    Makes it a little nicer to read
---
 README.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.rst b/README.rst
index ba5dc3f..51d2263 100644
--- a/README.rst
+++ b/README.rst
@@ -12,7 +12,8 @@ tab completion, syntax highlighting, better tracebacks, better introspection
 with the same interface as the `pdb` module.
 
 Example usage:
-::
+
+.. code-block:: python
 
         import ipdb
         ipdb.set_trace()
@@ -49,7 +50,7 @@ Alternatively with Python 2.7 only, you can also use
 
 You can also enclose code with the ``with`` statement to launch ipdb if an exception is raised:
 
-::
+.. code-block:: python
 
         from ipdb import launch_ipdb_on_exception
 
@@ -77,7 +78,7 @@ However, all strategies tried until 0.9.4 have proven brittle.
 If you use ``nose`` or another tool that fiddles with ``stdout``, you should
 explicitely ask for ``stdout`` fiddling by using ``ipdb`` like this
 
-::
+.. code-block:: python
 
         import ipdb
         ipdb.sset_trace()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ipdb.git



More information about the Python-modules-commits mailing list