rst and pypandoc

Dave Angel davea at davea.name
Mon Mar 2 13:55:53 EST 2015


On 03/02/2015 09:43 AM, Steven D'Aprano wrote:
> Dave Angel wrote:
>
>> On 03/02/2015 08:51 AM, alb wrote:
>>> Hi Steven,
>>>
>>> Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:

>>>>
>>>> or use a raw string:
>>>>
>>>> i = r'\\ref{fig:abc}'
>>
>> Actually that'd be:
>>      i = r'\ref{fig:abc}'
>
>
> D'oh!
>
> I mean, you spotted my deliberate mistake to check if you were paying
> attention. Well done!
>
>
>> How about "in" and "out"?  Or perhaps some name that indicates what
>> semantics the string represents, like   "rst_string"  and "html_string"
>> or whatever they actually are?
>
> Can't use "in", it's a keyword.
>

And D'oh right back at ya.  Ironic isn't it that I make a second mistake 
in the same message I correct yours?


-- 
DaveA



More information about the Python-list mailing list