Language Delimiters

. — period

Separates an object expression from an attribute name and components of a dotted import name. A period also occurs inside numeric literals; three dots can form the ellipsis literal.

Formal Syntax & Structure

python syntaxpython
.

Return Value

Not applicable

Grammar token; the enclosing construct determines any result.

Working Example

Example Snippetpython
name = 'python'print(name.upper())
Python Reference