Documentation String Stub, Python

Posted by Andres Orozco on Stack Overflow See other posts from Stack Overflow or by Andres Orozco
Published on 2012-03-23T23:19:39Z Indexed on 2012/03/23 23:29 UTC
Read the original article Hit count: 230

Filed under:
|
|
|
|

Well i'm learning Python cuz' i think is an awesome and powerful language like C++, perl or C# but is really really easy at same time. I'm using JetBrains' Pycharm and when i define a function it ask me to add a "Documentation String Stub" when i click yes it adds somethin like this:

"""

"""

so the full code of the function is something like this:

def otherFunction(h, w):
    """

    """
    hello = h
    world = w
    full_word = h + ' ' + w

    return full_word

I would like to know what these (""" """) symbols means, Thanks.

Ps.Data: Sorry for my bad english :D

© Stack Overflow or respective owner

Related posts about python

Related posts about string