[Tutor] Viewing __doc__ strings

Allan Crooks amc1@dcs.qmw.ac.uk
Fri, 08 Jun 2001 15:41:03 +0100


Hi,

Is there anyway to make Python display __doc__ strings without all the "\n" characters? I know I could manually split it and then rejoin it, but surely there's an easier way?

I'm using Python 2.1 on WinNT 4, if that's of any use.

Thanks,
Allan.