Python - (Function|Procedure|definition)

> Procedural Languages > Python > Python - Grammar (Package | Module)

1 - About

Advertising

3 - Properties

3.1 - Name

  • PEP 3155 Qualified name for classes and functions.

3.2 - Type

A function in Python has a type.

def addS(x):
    return x + 's'
print type(addS)
print addS
<type 'function'>
<function addS at 0xb0ef95dc>

4 - Class

5 - Built in