From 16adb13d7107f01a68baa88bcfe42e3022673137 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 21 May 2016 08:56:09 -0400 Subject: Latest sample html report --- doc/sample_html/cogapp_backward_py.html | 50 ++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'doc/sample_html/cogapp_backward_py.html') diff --git a/doc/sample_html/cogapp_backward_py.html b/doc/sample_html/cogapp_backward_py.html index c0eb8cc2..b11f9d7e 100644 --- a/doc/sample_html/cogapp_backward_py.html +++ b/doc/sample_html/cogapp_backward_py.html @@ -44,22 +44,22 @@
Hide keyboard shortcuts -

Hot-keys on this page

+

Hot-keys on this page

-

+

r m x p   toggle line displays

-

+

j k   next/prev highlighted chunk

-

+

0   (zero) top of page

-

+

1   (one) first highlighted chunk

@@ -95,36 +95,36 @@

24

25

26

- + -

"""Compatibility between Py2 and Py3.""" 

+

"""Compatibility between Py2 and Py3.""" 

 

import sys 

 

PY3 = sys.version_info[0] == 3 

 

-

7 ↛ 8 [?]if PY3: 

-

    string_types = (str,bytes) 

-

    bytes_types = (bytes,) 

-

    def b(s): 

-

        return s.encode("latin-1") 

-

    def to_bytes(s): 

-

        return s.encode('utf8') 

+

7 ↛ 8line 7 didn't jump to line 8, because the condition on line 7 was never trueif PY3: 

+

string_types = (str,bytes) 

+

bytes_types = (bytes,) 

+

def b(s): 

+

return s.encode("latin-1") 

+

def to_bytes(s): 

+

return s.encode('utf8') 

else: 

-

    string_types = (basestring,) 

-

    bytes_types = (str,) 

-

    def b(s): 

-

        return s 

-

    def to_bytes(s): 

-

        return s 

+

string_types = (basestring,) 

+

bytes_types = (str,) 

+

def b(s): 

+

return s 

+

def to_bytes(s): 

+

return s 

 

# Pythons 2 and 3 differ on where to get StringIO 

try: 

-

    from cStringIO import StringIO 

+

from cStringIO import StringIO 

except ImportError: 

-

    from io import StringIO 

- +

from io import StringIO 

+ @@ -133,8 +133,8 @@ -- cgit v1.2.1