This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Caio.Romao
Recipients Caio.Romao, Dima.Tisnek
Date 2011-09-08.01:57:33
SpamBayes Score 5.8950427e-06
Marked as misclassified No
Message-id <1315447054.27.0.75974955996.issue12930@psf.upfronthosting.co.za>
In-reply-to
Content
New patch, fixing issue pointed out by gutworth and some others that came up.

I've used the following as a test input:

-----8<----------8<--------
#!/usr/bin/python
def x():
  """
  This is a doc
  """
  '''
  Another doc.'''
  s = """line one
line two
      line three
      '''
line five
"""
  var = '''test'''
  """Third doc"""
  return s
-----8<----------8<--------

The patch got way bigger than the initial version and feels a little hackish, but I couldn't come up with something better.
History
Date User Action Args
2011-09-08 01:57:34Caio.Romaosetrecipients: + Caio.Romao, Dima.Tisnek
2011-09-08 01:57:34Caio.Romaosetmessageid: <1315447054.27.0.75974955996.issue12930@psf.upfronthosting.co.za>
2011-09-08 01:57:33Caio.Romaolinkissue12930 messages
2011-09-08 01:57:33Caio.Romaocreate