From c132d1173b8f84dfe335b59b73f31110d38fc747 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 25 Feb 2018 09:49:08 -0500 Subject: [PATCH] omg another readme fix Signed-off-by: Kenneth Reitz --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 99a7f69..470cbb8 100644 --- a/README.rst +++ b/README.rst @@ -89,14 +89,14 @@ Render an Element as Markdown: Search for text on the page: - .. code-block:: pycon +.. code-block:: pycon >>> r.html.search('Python is a {} language')[0] programming More complex CSS Selector example (copied from Chrome dev tools): - .. code-block:: pycon +.. code-block:: pycon >>> r = session.get('https://github.com/') >>> sel = 'body > div.application-main > div.jumbotron.jumbotron-codelines > div > div > div.col-md-7.text-center.text-md-left > p'