Re: Python's help() function is awesome

2017-04-17 Thread Terry Reedy
On 4/17/2017 5:31 AM, Steve D'Aprano wrote: If you're not using the help() command in the interactive interpreter, you're missing out on a lot. I recently discovered that help() is even cleverer than I knew. I knew it picked up on objects' doc strings, but what happens if the object doesn't have

Python's help() function is awesome

2017-04-17 Thread Steve D'Aprano
If you're not using the help() command in the interactive interpreter, you're missing out on a lot. I recently discovered that help() is even cleverer than I knew. I knew it picked up on objects' doc strings, but what happens if the object doesn't have a doc string? Let's find out! Here's a tiny