Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita7b858b

Browse files
committed
Initialize value
1 parent555f446 commita7b858b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Objects/dictobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6604,7 +6604,7 @@ _PyDict_NewKeysForClass(PyHeapTypeObject *cls)
66046604
if (cls->ht_type.tp_dict) {
66056605
PyObject*attrs=PyDict_GetItem(cls->ht_type.tp_dict,&_Py_ID(__static_attributes__));
66066606
if (attrs!=NULL&&PyTuple_Check(attrs)) {
6607-
for (Py_ssize_ti;i<PyTuple_GET_SIZE(attrs);i++) {
6607+
for (Py_ssize_ti=0;i<PyTuple_GET_SIZE(attrs);i++) {
66086608
PyObject*key=PyTuple_GET_ITEM(attrs,i);
66096609
Py_hash_thash;
66106610
if (PyUnicode_CheckExact(key)&& (hash=unicode_get_hash(key))!=-1) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp