# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Jun 12 00:39:48 2018
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
'Assert statements are a convenient way to insert debugging '
'assertions\n'
'into a program:\n'
'\n'
' assert_stmt ::= "assert" expression ["," expression]\n'
'\n'
'The simple form, "assert expression", is equivalent to\n'
'\n'
' if __debug__:\n'
' if not expression: raise AssertionError\n'
'\n'
'The extended form, "assert expression1, expression2", is '
'equivalent to\n'
'\n'
' if __debug__:\n'
' if not expression1: raise AssertionError(expression2)\n'
'\n'
'These equivalences assume that "__debug__" and "AssertionError" '
'refer\n'
'to the built-in variables with those names. In the current\n'
'implementation, the built-in variable "__debug__" is "True" under\n'
'normal circumstances, "False" when optimization is requested '
'(command\n'
'line option -O). The current code generator emits no code for an\n'
'assert statement when optimization is requested at compile time. '
'Note\n'
'that it is unnecessary to include the source code for the '
'expression\n'
'that failed in the error message; it will be displayed as part of '
'the\n'
'stack trace.\n'
'\n'
'Assignments to "__debug__" are illegal. The value for the '
'built-in\n'
'variable is determined when the interpreter starts.\n',
'assignment': 'Assignment statements\n'
'*********************\n'
'\n'
'Assignment statements are used to (re)bind names to values and '
'to\n'
'modify attributes or items of mutable objects:\n'
'\n'
' assignment_stmt ::= (target_list "=")+ (starred_expression '
'| yield_expression)\n'
' target_list ::= target ("," target)* [","]\n'
' target ::= identifier\n'
' | "(" [target_list] ")"\n'
' | "[" [target_list] "]"\n'
' | attributeref\n'
' | subscription\n'
' | slicing\n'
' | "*" target\n'
'\n'
'(See section Primaries for the syntax definitions for '
'*attributeref*,\n'
'*subscription*, and *slicing*.)\n'
'\n'
'An assignment statement evaluates the expression list '
'(remember that\n'
'this can be a single expression or a comma-separated list, the '
'latter\n'
'yielding a tuple) and assigns the single resulting object to '
'each of\n'
'the target lists, from left to right.\n'
'\n'
'Assignment is defined recursively depending on the form of the '
'target\n'
'(list). When a target is part of a mutable object (an '
'attribute\n'
'reference, subscription or slicing), the mutable object must\n'
'ultimately perform the assignment and decide about its '
'validity, and\n'
'may raise an exception if the assignment is unacceptable. The '
'rules\n'
'observed by various types and the exceptions raised are given '
'with the\n'
'definition of the object types (see section The standard type\n'
'hierarchy).\n'
'\n'
'Assignment of an object to a target list, optionally enclosed '
'in\n'
'parentheses or square brackets, is recursively defined as '
'follows.\n'
'\n'
'* If the target list is empty: The object must also be an '
'empty\n'
' iterable.\n'
'\n'
'* If the target list is a single target in parentheses: The '
'object\n'
' is assigned to that target.\n'
'\n'
'* If the target list is a comma-separated list of targets, or '
'a\n'
' single target in square brackets: The object must be an '
'iterable\n'
' with the same number of items as there are targets in the '
'target\n'
' list, and the items are assigned, from left to right, to '
'the\n'
' corresponding targets.\n'
'\n'
' * If the target list contains one target prefixed with an\n'
' asterisk, called a “starred” target: The object must be '
'an\n'
' iterable with at least as many items as there are targets '
'in the\n'
' target list, minus one. The first items of the iterable '
'are\n'
' assigned, from left to right, to the targets before the '
'starred\n'
' target. The final items of the iterable are assigned to '
'the\n'
' targets after the starred target. A list of the remaining '
'items\n'
' in the iterable is then assigned to the starred target '
'(the list\n'
' can be empty).\n'
'\n'
' * Else: The object must be an iterable with the same number '
'of\n'
' items as there are targets in the target list, and the '
'items are\n'
' assigned, from left to right, to the corresponding '
'targets.\n'
'\n'
'Assignment of an object to a single target is recursively '
'defined as\n'
'follows.\n'
'\n'
'* If the target is an identifier (name):\n'
'\n'
' * If the name does not occur in a "global" or "nonlocal" '
'statement\n'
' in the current code block: the name is bound to the object '
'in the\n'
' current local namespace.\n'
'\n'
' * Otherwise: the name is bound to the object in the global\n'
' namespace or the outer namespace determined by '
'"nonlocal",\n'
' respectively.\n'
'\n'
' The name is rebound if it was already bound. This may cause '
'the\n'
' reference count for the object previously bound to the name '
'to reach\n'
' zero, causing the object to be deallocated and its '
'destructor (if it\n'
' has one) to be called.\n'
'\n'
'* If the target is an attribute reference: The primary '
'expression in\n'
' the reference is evaluated. It should yield an object with\n'
' assignable attributes; if this is not the case, "TypeError" '
'is\n'
' raised. That object is then asked to assign the assigned '
'object to\n'
' the given attribute; if it cannot perform the assignment, it '
'raises\n'
' an e
没有合适的资源?快使用搜索试试~ 我知道了~
python3.7的扩展包
共2000个文件
py:1928个
txt:45个
htm:12个
需积分: 0 0 下载量 58 浏览量
2023-10-13
18:46:21
上传
评论
收藏 62.43MB RAR 举报
温馨提示
python3.7的扩展包
资源推荐
资源详情
资源评论
收起资源包目录
python3.7的扩展包 (2000个子文件)
_pydoc.css 102B
_embedding.h 18KB
_cffi_include.h 15KB
parse_c_type.h 6KB
_cffi_errors.h 4KB
calc.htm 4KB
foo2.htm 3KB
mousetrack.htm 2KB
demo_intro.htm 2KB
demo_check.htm 1KB
marqueeDemo.htm 1KB
MarqueeText1.htm 703B
demo_menu.htm 499B
form.htm 481B
docwrite.htm 467B
demo.htm 445B
dbgtest.htm 190B
test1.html 157B
test.html 156B
findElements.js 53KB
isDisplayed.js 43KB
getAttribute.js 42KB
mutation-listener.js 2KB
webdriver_prefs.json 3KB
metadata.json 1KB
metadata.json 321B
LICENSE.md 1KB
topics.py 659KB
pyparsing.py 238KB
core.py 208KB
uts46data.py 200KB
uts46data.py 200KB
uts46data.py 194KB
_emoji_codes.py 137KB
langrussianmodel.py 128KB
network.py 121KB
network.py 121KB
network.py 121KB
html5parser.py 116KB
html5parser.py 114KB
pydoc.py 107KB
__init__.py 106KB
langbulgarianmodel.py 103KB
__init__.py 102KB
langthaimodel.py 101KB
_make.py 100KB
request.py 100KB
langhungarianmodel.py 100KB
page.py 100KB
page.py 99KB
page.py 99KB
langgreekmodel.py 97KB
backend.py 97KB
langhebrewmodel.py 96KB
argparse.py 95KB
_run.py 95KB
langturkishmodel.py 94KB
tarfile.py 93KB
console.py 93KB
pickletools.py 92KB
tarfile.py 90KB
tarfile.py 90KB
dtcompat.py 86KB
datetime.py 85KB
network.py 85KB
difflib.py 84KB
constants.py 82KB
constants.py 82KB
mock.py 81KB
schema.py 81KB
zipfile.py 80KB
mailbox.py 79KB
ipaddress.py 78KB
cookiejar.py 77KB
ipaddress.py 76KB
_tokenizer.py 75KB
_tokenizer.py 75KB
test_run.py 73KB
test_case.py 73KB
page.py 69KB
typing_extensions.py 69KB
_mapping.py 68KB
util.py 66KB
extensions.py 66KB
recompiler.py 65KB
test_loader.py 63KB
pdb.py 63KB
unistring.py 62KB
_bootstrap_external.py 59KB
adodbapitest.py 59KB
util.py 58KB
dom.py 58KB
dom.py 58KB
dom.py 58KB
case.py 57KB
runtime.py 57KB
testpatch.py 56KB
typing.py 55KB
runtime.py 55KB
runtime.py 55KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
从小就文静
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功