diff options
author | Sergey B Kirpichev <skirpichev@gmail.com> | 2023-01-06 15:37:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 15:37:34 (GMT) |
commit | 0e640260dac2db081e56f52f8efb0e43e463ff2f (patch) | |
tree | 529853d3506d63aeb8771f87420f9f1e76485e31 /Python/pythonrun.c | |
parent | 15c44789bb125b93e96815a336ec73423c47508e (diff) | |
download | cpython-0e640260dac2db081e56f52f8efb0e43e463ff2f.zip cpython-0e640260dac2db081e56f52f8efb0e43e463ff2f.tar.gz cpython-0e640260dac2db081e56f52f8efb0e43e463ff2f.tar.bz2 |
gh-91851: Trivial optimizations in Fraction (#100791)
Make some trivial performance optimizations in Fraction
Uses private class attributes `_numerator` and `_denominator` in place of the `numerator` and `denominator` property accesses.
Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions