HaveF / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

don't escape backslashes that are in raw strings in the docs #331

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Go to 

http://packages.python.org/feedparser/introduction.html#parsing-a-feed-from-a-re
mote-url

and 

http://packages.python.org/feedparser/date-parsing.html#registering-a-third-part
y-date-handler

What is the expected output? What do you see instead?

Expected:

either:

  >>> d = feedparser.parse(r'c:\incoming\atom10.xml')

or:

  >>> d = feedparser.parse('c:\\incoming\\atom10.xml')

Got:

  >>> d = feedparser.parse(r'c:\\incoming\\atom10.xml')

The fix is in docs-raw-string-double-escaped-backslashes.patch

Original issue reported on code.google.com by 4kir4...@gmail.com on 19 Feb 2012 at 8:32

Attachments:

GoogleCodeExporter commented 9 years ago
attached correct patch

Original comment by 4kir4...@gmail.com on 19 Feb 2012 at 8:33

Attachments:

GoogleCodeExporter commented 9 years ago
make diff relative trunk

Original comment by 4kir4...@gmail.com on 19 Feb 2012 at 8:37

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r690.

Original comment by kurtmckee on 20 Feb 2012 at 12:03

GoogleCodeExporter commented 9 years ago
Thanks for submitting the patch for this!

Original comment by kurtmckee on 20 Feb 2012 at 12:03