cpython: d48ac94e365f (original) (raw)

Mercurial > cpython

changeset 85931:d48ac94e365f

Use cached builtins.

Serhiy Storchaka storchaka@gmail.com
date Wed, 02 Oct 2013 19:15:54 +0300
parents d90f25e1a705
children 6e7b1aadea2f
files Lib/pprint.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-)[+] [-] Lib/pprint.py 12

line wrap: on

line diff

--- a/Lib/pprint.py +++ b/Lib/pprint.py @@ -96,8 +96,8 @@ class _safe_key: rv = NotImplemented if rv is NotImplemented:

def _safe_tuple(t): @@ -225,7 +225,7 @@ class PrettyPrinter: write(typ.name) write('({') endchar = '})'

@@ -240,7 +240,7 @@ class PrettyPrinter: write(endchar) return

@@ -255,10 +255,10 @@ class PrettyPrinter: # A list of alternating (non-space, space) strings parts = re.split(r'(\s+)', line) + [''] current = ''