On 27/11/12 09:02, Steven D'Aprano wrote:
Here's my attempt:
def _setMultRespDefsEx(multRespDefs):
"""Format a dictionary of stuff as a string. Expects that dict contains:
[...]
KNOWN BUGS:
1) Sometimes this function returns a dict instead of a string.
2) The formatted string output is amb
On 27/11/12 08:06, Albert-Jan Roskam wrote:
Hi,
I am using doctest and I am struggling with newlines characters
(see below). One is the newline escape (backslash) for a long
dictionary definition. The other is an embedded \n in the output.
I used the +NORMALIZE_WHITESPACE directive. I also tried
Hi,
I am using doctest and I am struggling with newlines characters (see below).
One is the newline escape (backslash)
for a long dictionary definition. The other is an embedded \n in the output. I
used the +NORMALIZE_WHITESPACE
directive. I also tried using a triple-quoted raw docstring. Any id