Interactive Site Helpers

copyright — interactive site helper

Displays Python copyright notices. The text is environment-dependent; avoid assuming a fixed year or exact message. This is an interactive site helper; it may be absent with -S.

Formal Syntax & Structure

python syntaxpython
copyright()

Return Value

None

Displays information rather than returning a useful data value.

Working Example

Example Snippetpython
import builtinshelper = builtins.copyrightprint(callable(helper), bool(str(helper).strip()))
Python Reference