Changeset 9 for formatflowed

Show
Ignore:
Timestamp:
09/06/05 22:24:31 (7 years ago)
Author:
mj
Message:

Keep docstrings readable in python interpreters and other environments; double
the slashes on the alien characterset.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • formatflowed/trunk/formatflowed.py

    r8 r9  
    227227            >>> decoder = FormatFlowedDecoder(character_set='cp037') 
    228228            >>> result = decoder.decode(CRLF.join(( 
    229             ... "n@\xe3\x88\x89\xa2@\x89\xa2@\x81@\x98\xa4\x96\xa3\x85\x84@" 
    230             ... "\x97\x81\x99\x81\x87\x99\x81\x97\x88@", 
    231             ... "n@\x85\x95\x83\x96\x84\x85\x84@\x89\x95@\x83\x97\xf0\xf3" 
    232             ... "\xf7K"))) 
     229            ... "n@\\xe3\\x88\\x89\\xa2@\\x89\\xa2@\\x81@\\x98\\xa4\\x96\\xa3" 
     230            ... "\\x85\\x84@\\x97\\x81\\x99\\x81\\x87\\x99\\x81\\x97\\x88@", 
     231            ... "n@\\x85\\x95\\x83\\x96\\x84\\x85\\x84@\\x89\\x95@\\x83\\x97" 
     232            ... "\\xf0\\xf3\\xf7K"))) 
    233233            >>> list(result) == [ 
    234234            ...   ({'quotedepth': 1, 'type': PARAGRAPH},