File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -556,14 +556,13 @@ at the very least, a 16-bit counter is needed.
556556 } _PyContainsOpCache;
557557 ```
558558
559- 3. Write the specializing function itself in [Python/specialize.c ](../Python/specialize.c).
560- Refer to any other function in that file for the format .
559+ 3. Write the specializing function itself (`_Py_Specialize_ContainsOp`) in [Python/specialize.c ](../Python/specialize.c).
560+ Refer to other functions in that file for the pattern .
561561
562- 4. Remember to update operation stats by calling `add_stat_dict` in
563- [Python/specialize.c ](../Python/specialize.c).
562+ 4. Add a call to `add_stat_dict` in `_Py_GetSpecializationStats` which is in [Python/specialize.c ](../Python/specialize.c).
564563
5655645. Add the cache layout in [Lib/opcode.py](../Lib/opcode.py) so that Python's
566- dis module will know how to represent it properly.
565+ ` dis` module will know how to represent it properly.
567566
5685676. Bump magic number in [Include/core/pycore_magic_number.h](../Include/internal/pycore_magic_number.h).
569568
You can’t perform that action at this time.
0 commit comments