...
- Ellipsis built-in constant (생략 내장 상수)
Annotation
- variable annotation (a variable or a class attribute)
# e.g.
class C:
field: 'annotation'
count: int = 0
- function annotation (a function parameter or return value)
# e.g.
def sum_two_numbers(a: int, b: int) -> int:
return a + b
docstring
- A string literal which appears as the first expression in a class, function or module
expression
- A piece of syntax which can be evaluated to some value
- Assignments are statements, not expressions
immutable
- An object with a fixed value (numbers, strings, tuples)
iterable
- An object capable of returning its members one at a time (e.g. list, str, tuple, dict, file ojbects, ...)
mutable
- Mutable objects can change their value
sequence
- An iterable which supports efficient element access using integer indices and defines a method that returns the lenght of the sequence (e.g. list, str, tuple, bytes, ...)
- dict also supports __getitem__() and __len__(), but it is not a sequence.
statement
- A statement is part of a suite ( a 'block' of code).
Zen of Python
- Listing of Python design principles and philosophies. (import this)