pull-pylance-with-pyright-1.1.383 (#9133)

This commit is contained in:
Bill Schnurr 2024-10-02 06:53:06 -07:00 committed by GitHub
parent 5e57e0a3a5
commit 243983220e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 10 deletions

View File

@ -40,7 +40,7 @@
"assertAlwaysTrue": "断言表达式的计算结果始终为 true",
"assertTypeArgs": "“assert_type”需要两个位置参数",
"assertTypeTypeMismatch": "“assert_type”不匹配:应为“{expected}”,但收到“{received}”",
"assignmentExprComprehension": "赋值表达式目标“{name}”不能使用与目标理解相同的名称",
"assignmentExprComprehension": "赋值表达式目标“{name}”不能使用与目标推导式相同的名称",
"assignmentExprContext": "赋值表达式必须在模块、函数或 lambda 中",
"assignmentExprInSubscript": "仅在 Python 3.10 和更高版本中支持下标中的赋值表达式",
"assignmentInProtocol": "Protocol 类中的实例或类变量必须在类主体内显式声明",
@ -86,7 +86,7 @@
"collectionAliasInstantiation": "无法实例化类型“{type}”,请改用“{alias}”",
"comparisonAlwaysFalse": "条件的计算结果始终为 False因为类型“{leftType}”和“{rightType}”没有重叠",
"comparisonAlwaysTrue": "条件的计算结果始终为 True因为类型“{leftType}”和“{rightType}”没有重叠",
"comprehensionInDict": "理解不能与其他字典条目一起使用",
"comprehensionInDict": "推导式不能与其他字典条目一起使用",
"comprehensionInSet": "推导式不能与其他 set 条目一起使用",
"concatenateContext": "此上下文中不允许使用“Concatenate”",
"concatenateParamSpecMissing": "“Concatenate”的最后一个类型参数必须是 ParamSpec 或 \"...\"",
@ -131,7 +131,7 @@
"deprecatedPropertyGetter": "已弃用 property \"{name}\" 的 getter",
"deprecatedPropertySetter": "已弃用 property \"{name}\" 的 setter",
"deprecatedType": "自 Python {version} 起,此类型已弃用;请改用“{replacement}”",
"dictExpandIllegalInComprehension": "理解中不允许字典扩展",
"dictExpandIllegalInComprehension": "推导式中不允许使用字典扩展",
"dictInAnnotation": "类型表达式中不允许使用字典表达式",
"dictKeyValuePairs": "字典条目必须包含键/值对",
"dictUnpackIsNotMapping": "字典解包运算符的预期映射",
@ -601,7 +601,7 @@
"unpackArgCount": "\"Unpack\"后应为单个类型参数",
"unpackExpectedTypeVarTuple": "Unpack 预期接收 TypeVarTuple 或 tuple 作为类型参数",
"unpackExpectedTypedDict": "Unpack 预期接收 TypedDict 类型参数",
"unpackIllegalInComprehension": "在理解中不允许解包操作",
"unpackIllegalInComprehension": "在推导式中不允许使用解包操作",
"unpackInAnnotation": "类型表达式中不允许使用解包运算符",
"unpackInDict": "字典中不允许解压缩操作",
"unpackInSet": "set 内不允许使用解包运算符",
@ -636,7 +636,7 @@
"yieldFromIllegal": "使用“yield from”需要 Python 3.3 或更高版本",
"yieldFromOutsideAsync": "async 函数中不允许使用 \"yield from\"",
"yieldOutsideFunction": "不允许在函数或 lambda 之外使用“yield”",
"yieldWithinComprehension": "不允许在理解中使用 \"yield\"",
"yieldWithinComprehension": "允许在推导式中使用 \"yield\"",
"zeroCaseStatementsFound": "Match 语句必须至少包含一个 case 语句",
"zeroLengthTupleNotAllowed": "此上下文中不允许使用零长度 tuple"
},

View File

@ -40,7 +40,7 @@
"assertAlwaysTrue": "Assert 運算式一律會評估為 true",
"assertTypeArgs": "\"assert_type\" 需要兩個位置引數",
"assertTypeTypeMismatch": "\"assert_type\" 不符: 預期為 \"{expected}\",但收到 \"{received}\"",
"assignmentExprComprehension": "指派運算式目標 \"{name}\" 不能使用與目標 comprehension 相同的名稱",
"assignmentExprComprehension": "指派運算式目標 \"{name}\" 不能使用與目標 Comprehension 相同的名稱",
"assignmentExprContext": "Assignment 運算式必須在模組、函式或 Lambda 內",
"assignmentExprInSubscript": "下標內的 Assignment 運算式僅在 Python 3.10 和更新版本中支援",
"assignmentInProtocol": "必須在類別主體內明確宣告 Protocol 類別內的執行個體或類別變數",
@ -86,7 +86,7 @@
"collectionAliasInstantiation": "無法將型別 \"{type}\" 具現化,請改用 \"{alias}\"",
"comparisonAlwaysFalse": "條件一律會評估為 False因為類型 \"{leftType}\" 和 \"{rightType}\" 沒有重疊",
"comparisonAlwaysTrue": "條件一律會評估為 True因為類型 \"{leftType}\" 和 \"{rightType}\" 沒有重疊",
"comprehensionInDict": "理解不能與其他字典項目搭配使用",
"comprehensionInDict": "Comprehension 不能與其他字典項目搭配使用",
"comprehensionInSet": "Comprehension 無法與其他 set 輸入項目一起使用",
"concatenateContext": "此內容中不允許 \"Concatenate\"",
"concatenateParamSpecMissing": "\"Concatenate\" 的最後一個類型引數必須是 ParamSpec 或 \"...\"",
@ -131,7 +131,7 @@
"deprecatedPropertyGetter": "The getter for property \"{name}\" is deprecated",
"deprecatedPropertySetter": "The setter for property \"{name}\" is deprecated",
"deprecatedType": "此類型已隨著 Python {version} 取代; 請改為使用 \"{replacement}\"",
"dictExpandIllegalInComprehension": "理解中不允許字典擴充",
"dictExpandIllegalInComprehension": "Comprehension 中不允許字典擴充",
"dictInAnnotation": "類型運算式中不允許字典運算式",
"dictKeyValuePairs": "字典項目必須包含金鑰/值組",
"dictUnpackIsNotMapping": "預期為字典解壓縮運算子的對應",
@ -601,7 +601,7 @@
"unpackArgCount": "\"Unpack\" 後面應為單一型別引數",
"unpackExpectedTypeVarTuple": "預期 TypeVarTuple 或 tuple 作為 Unpack 的類型引數",
"unpackExpectedTypedDict": "應為 Unpack 的 TypedDict 型別引數",
"unpackIllegalInComprehension": "理解中不允許解壓縮作業",
"unpackIllegalInComprehension": "Comprehension 中不允許解壓縮作業",
"unpackInAnnotation": "類型運算式中不允許解壓縮運算子",
"unpackInDict": "字典中不允許解壓縮作業",
"unpackInSet": "Unpack operator not allowed within a set",
@ -636,7 +636,7 @@
"yieldFromIllegal": "使用 \"yield from\" 需要 Python 3.3 或更新版本",
"yieldFromOutsideAsync": "\"yield from\" not allowed in an async function",
"yieldOutsideFunction": "在函式或 lambda 外部不允許 \"yield\"",
"yieldWithinComprehension": "理解內不允許 \"yield\"",
"yieldWithinComprehension": "Comprehension 內不允許 \"yield\"",
"zeroCaseStatementsFound": "Match 陳述式必須至少包含一個 case 陳述式",
"zeroLengthTupleNotAllowed": "此內容中不允許零長度 tuple"
},