diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2023-05-30 16:35:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 16:35:30 (GMT) |
commit | 18cfc1eea569f0ce72ad403840c0e6cc5f81e1c2 (patch) | |
tree | 6c22d1e19cd837879770365203b29e1c8a63ed76 /Python/emscripten_signal.c | |
parent | c8c1e73d95d5dcd7a2c8d7c10cfafc3fe5a9377e (diff) | |
download | cpython-18cfc1eea569f0ce72ad403840c0e6cc5f81e1c2.zip cpython-18cfc1eea569f0ce72ad403840c0e6cc5f81e1c2.tar.gz cpython-18cfc1eea569f0ce72ad403840c0e6cc5f81e1c2.tar.bz2 |
Small speedup for dataclass __eq__ and __repr__ (#104904)
Faster __repr__ with str.__add__ moved inside the f-string. For __eq__ comp;are field by field instead of building temporary tuples.
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Python/emscripten_signal.c')
0 files changed, 0 insertions, 0 deletions