[Python-checkins] Remove ">>>" from testsetup. (GH-10017)

Benjamin Peterson webhook-mailer at python.org
Sat Oct 20 19:51:08 EDT 2018


https://github.com/python/cpython/commit/12d0ff12305957511c9da22513858adbcef72a95
commit: 12d0ff12305957511c9da22513858adbcef72a95
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2018-10-20T16:51:05-07:00
summary:

Remove ">>>" from testsetup. (GH-10017)

Fixes doc build breakage from 890a4b92933be8e7c554222d99ef829c88fa8637.

files:
M Doc/howto/sorting.rst

diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst
index b2fccb19f5d4..1d6d5c45b4d9 100644
--- a/Doc/howto/sorting.rst
+++ b/Doc/howto/sorting.rst
@@ -257,7 +257,7 @@ To convert to a key function, just wrap the old comparison function:
 
 .. testsetup::
 
-    >>> from functools import cmp_to_key
+    from functools import cmp_to_key
 
 .. doctest::
 



More information about the Python-checkins mailing list