Definitions

Sorry, no definitions found. Check out and contribute to the discussion of this word!

Etymologies

Sorry, no etymologies found.

Support

Help support Wordnik (and make this page ad-free) by adopting the word docstrings.

Examples

  • In this program, we also see the use of docstrings for classes as well as methods.

    A Byte of Python Swaroop, C. H. 2003

  • Keeping extension docstrings in sync with the native implementation snakeoil, a core rule of our codebase is that extensions must be optional - this is primarily done to make the initial steps of porting pkgcore to a platform easier, and to enable some usages that aren't extension friendly.

    Planet Python 2010

  • I am generating gtk-doc docs for libgwibber, but they aren't very useful yet. libgwibber is written in vala and I haven't figured out a way to get docstrings to pass from vala to the generated C.

    Planet Ubuntu 2010

  • Because it's just a Python module, with docstrings, we can use standard Python documentation tools.

    Planet GNOME murrayc 2010

  • In particular, the generated API documentation has been constructed into a full blown "API Reference" section which organizes editorial documentation combined with generated docstrings.

    Softpedia - Windows - All Softpedia Linux 2010

  • One thought I'd had was to split the docstrings out into a module the native and extension implementations could import, but that seems a bit too much like a kludge to me - plus it complicates the code a fair bit.

    Planet Python 2010

  • One problem I've ran into however is how best to keep your extension docstrings in sync with the native implementations docstrings.

    Planet Python 2010

  • What's New in This Release: [read full changelog] · Update docstrings for Python documentation

    Softpedia - Windows - All 2010

  • I'm not a fan of relying on developers to update docstrings in two places, and I'm not a fan of just storing the documentation on a website or something similar (I generally like my pydoc invocations to be useful, rather than stubs telling me to load a webpage - personal preference however).

    Planet Python 2010

  • Autogeneration forces me to write reasonable docstrings into my code, and I'm pretty pleased with the HTML output.

    Slashdot 2010

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.