-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 20.04.2010 10:21, schrieb Guenter Milde:
>> If you check myfunc.__doc__, you'll see that the first line has no >> indentation and all of the remaining lines have indentation: > >> This is the first line. >> More lines here. >> Another line. >> So forth. > > Interestingly, if you check help(myfunc), the lines are aligned:: > > myfunc() > This is the first line. > More lines here. > Another line. > So forth. > > and IMO, the docstring-extractor should replicate this behaviour. It does -- the indentation of the first line is always stripped independently of the subsequent lines. Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkv3z9MACgkQN9GcIYhpnLBR7QCeOzGQHaA2O4s72t4k5cvW7Zoj T2gAoKH/HXBXJ8xMXUZApq8PWc1LsCJ6 =woKg -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
