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

Commit35dea3c

Browse files
committed
Tidy up formatting and fix spelling mistake.
1 parentd79893a commit35dea3c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Simplify and speed up interpreter for f-strings: RemoveFORMAT_VALUE
2-
opcode.Add CONVERT_VALUE,FORMAT_SIMPLE and FORMAT_WITH_SPEC opcode.
3-
Compiler emitsoptimal sequence for each format expression.
1+
Simplify and speed up interpreter for f-strings. Removes ``FORMAT_VALUE``
2+
opcode. Add``CONVERT_VALUE``, ``FORMAT_SIMPLE`` and``FORMAT_WITH_SPEC`` opcode.
3+
Compiler emitsmore efficient sequence for each format expression.

‎Python/ceval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void format_kwargs_mapping_error(PyObject *func, PyObject *kwargs);
7272

7373
typedefPyObject*(*convertion_func_ptr)(PyObject*);
7474

75-
staticconstconvertion_func_ptrCONVERTION_FUNCTIONS[4]= {
75+
staticconstconvertion_func_ptrCONVERSION_FUNCTIONS[4]= {
7676
[FVC_STR]=PyObject_Str,
7777
[FVC_REPR]=PyObject_Repr,
7878
[FVC_ASCII]=PyObject_ASCII
@@ -3297,7 +3297,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
32973297
PyObject*value=POP();
32983298
convertion_func_ptrconv_fn;
32993299
assert(oparg >=FVC_STR&&oparg <=FVC_ASCII);
3300-
conv_fn=CONVERTION_FUNCTIONS[oparg];
3300+
conv_fn=CONVERSION_FUNCTIONS[oparg];
33013301
result=conv_fn(value);
33023302
Py_DECREF(value);
33033303
if (result==NULL) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp