Документация Python неофициальный перевод

index.md

83 строк · 8.4 КБ · обычная страница · сырой текст · скачать

1> **Источник:** https://python-all.ru/3.0/reference/index.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Справочник по языку Python89| Версия: | 3.0 |10| --- | --- |11| Дата: | 14 февраля 2009 |1213Данное справочное руководство описывает синтаксис и «основную семантику» языка. Оно краткое, но стремится к точности и полноте. Семантика необязательных встроенных типов объектов, а также встроенных функций и модулей описана в [*Стандартной библиотеке Python*](https://python-all.ru/3.0/library/index.html#library-index). Неформальное введение в язык можно найти в [*Учебнике Python*](https://python-all.ru/3.0/tutorial/index.html#tutorial-index). Для программистов на C или C++ существуют два дополнительных руководства: [*«Расширение и встраивание интерпретатора Python»*](https://python-all.ru/3.0/extending/index.html#extending-index) описывает общую картину написания модулей расширения Python, а [*Справочное руководство по Python/C API*](https://python-all.ru/3.0/c-api/index.html#c-api-index) подробно описывает интерфейсы, доступные программистам на C/C++.1415- [Введение](https://python-all.ru/3.0/reference/introduction.html)1617  - [Альтернативные реализации](https://python-all.ru/3.0/reference/introduction.html#alternate-implementations)18  - [Нотация](https://python-all.ru/3.0/reference/introduction.html#id2)19- [Лексический анализ](https://python-all.ru/3.0/reference/lexical_analysis.html)2021  - [Структура строк](https://python-all.ru/3.0/reference/lexical_analysis.html#id1)22  - [Другие токены](https://python-all.ru/3.0/reference/lexical_analysis.html#id7)23  - [Идентификаторы и ключевые слова](https://python-all.ru/3.0/reference/lexical_analysis.html#identifiers-and-keywords)24  - [Литералы](https://python-all.ru/3.0/reference/lexical_analysis.html#id9)25  - [Операторы](https://python-all.ru/3.0/reference/lexical_analysis.html#id10)26  - [Разделители](https://python-all.ru/3.0/reference/lexical_analysis.html#id11)27- [Модель данных](https://python-all.ru/3.0/reference/datamodel.html)2829  - [Объекты, значения и типы](https://python-all.ru/3.0/reference/datamodel.html#objects-values-and-types)30  - [Стандартная иерархия типов](https://python-all.ru/3.0/reference/datamodel.html#the-standard-type-hierarchy)31  - [Имена специальных методов](https://python-all.ru/3.0/reference/datamodel.html#special-method-names)32- [Модель выполнения](https://python-all.ru/3.0/reference/executionmodel.html)3334  - [Именование и связывание](https://python-all.ru/3.0/reference/executionmodel.html#naming-and-binding)35  - [Исключения](https://python-all.ru/3.0/reference/executionmodel.html#id2)36- [Выражения](https://python-all.ru/3.0/reference/expressions.html)3738  - [Арифметические преобразования](https://python-all.ru/3.0/reference/expressions.html#arithmetic-conversions)39  - [Атомы](https://python-all.ru/3.0/reference/expressions.html#id2)40  - [Первичные выражения](https://python-all.ru/3.0/reference/expressions.html#id3)41  - [Оператор возведения в степень](https://python-all.ru/3.0/reference/expressions.html#the-power-operator)42  - [Унарные арифметические операции](https://python-all.ru/3.0/reference/expressions.html#unary-arithmetic-operations)43  - [Бинарные арифметические операции](https://python-all.ru/3.0/reference/expressions.html#binary-arithmetic-operations)44  - [Операции сдвига](https://python-all.ru/3.0/reference/expressions.html#shifting-operations)45  - [Бинарные поразрядные операции](https://python-all.ru/3.0/reference/expressions.html#binary-bitwise-operations)46  - [Сравнения](https://python-all.ru/3.0/reference/expressions.html#id10)47  - [Логические операции](https://python-all.ru/3.0/reference/expressions.html#boolean-operations)48  - [Лямбда-выражения](https://python-all.ru/3.0/reference/expressions.html#id15)49  - [Списки выражений](https://python-all.ru/3.0/reference/expressions.html#expression-lists)50  - [Порядок вычислений](https://python-all.ru/3.0/reference/expressions.html#evaluation-order)51  - [Сводка](https://python-all.ru/3.0/reference/expressions.html#summary)52- [Простые инструкции](https://python-all.ru/3.0/reference/simple_stmts.html)5354  - [Инструкции-выражения](https://python-all.ru/3.0/reference/simple_stmts.html#expression-statements)55  - [Инструкции присваивания](https://python-all.ru/3.0/reference/simple_stmts.html#assignment-statements)56  - [Инструкция `assert`](https://python-all.ru/3.0/reference/simple_stmts.html#the-assert-statement)57  - [Инструкция `pass`](https://python-all.ru/3.0/reference/simple_stmts.html#the-pass-statement)58  - [Инструкция `del`](https://python-all.ru/3.0/reference/simple_stmts.html#the-del-statement)59  - [Инструкция `return`](https://python-all.ru/3.0/reference/simple_stmts.html#the-return-statement)60  - [Инструкция `yield`](https://python-all.ru/3.0/reference/simple_stmts.html#the-yield-statement)61  - [Инструкция `raise`](https://python-all.ru/3.0/reference/simple_stmts.html#the-raise-statement)62  - [Инструкция `break`](https://python-all.ru/3.0/reference/simple_stmts.html#the-break-statement)63  - [Инструкция `continue`](https://python-all.ru/3.0/reference/simple_stmts.html#the-continue-statement)64  - [Инструкция `import`](https://python-all.ru/3.0/reference/simple_stmts.html#the-import-statement)65  - [Инструкция `global`](https://python-all.ru/3.0/reference/simple_stmts.html#the-global-statement)66  - [Инструкция `nonlocal`](https://python-all.ru/3.0/reference/simple_stmts.html#the-nonlocal-statement)67- [Составные инструкции](https://python-all.ru/3.0/reference/compound_stmts.html)6869  - [Инструкция `if`](https://python-all.ru/3.0/reference/compound_stmts.html#the-if-statement)70  - [Инструкция `while`](https://python-all.ru/3.0/reference/compound_stmts.html#the-while-statement)71  - [Инструкция `for`](https://python-all.ru/3.0/reference/compound_stmts.html#the-for-statement)72  - [Инструкция `try`](https://python-all.ru/3.0/reference/compound_stmts.html#the-try-statement)73  - [Инструкция `with`](https://python-all.ru/3.0/reference/compound_stmts.html#the-with-statement)74  - [Определения функций](https://python-all.ru/3.0/reference/compound_stmts.html#function-definitions)75  - [Определения классов](https://python-all.ru/3.0/reference/compound_stmts.html#class-definitions)76- [Компоненты верхнего уровня](https://python-all.ru/3.0/reference/toplevel_components.html)7778  - [Полные программы на Python](https://python-all.ru/3.0/reference/toplevel_components.html#complete-python-programs)79  - [Ввод из файла](https://python-all.ru/3.0/reference/toplevel_components.html#id1)80  - [Интерактивный ввод](https://python-all.ru/3.0/reference/toplevel_components.html#interactive-input)81  - [Ввод выражений](https://python-all.ru/3.0/reference/toplevel_components.html#id2)82- [Полная спецификация грамматики](https://python-all.ru/3.0/reference/grammar.html)83