diff options
author | Victor Stinner <vstinner@python.org> | 2023-06-14 21:29:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-14 21:29:05 (GMT) |
commit | 5ab13c5f97aa5226c49052f1ad19a8c97a3d7cdf (patch) | |
tree | f5e20900e6d348fff79c9b28c31a63fbb4871d8b /Lib/sched.py | |
parent | e7507bd131fbfbb49a6819a0d5ad5dd1e21b48cd (diff) | |
download | cpython-5ab13c5f97aa5226c49052f1ad19a8c97a3d7cdf.zip cpython-5ab13c5f97aa5226c49052f1ad19a8c97a3d7cdf.tar.gz cpython-5ab13c5f97aa5226c49052f1ad19a8c97a3d7cdf.tar.bz2 |
gh-105751: test_ctypes avoids the operator module (GH-105797)
* Replace operator.delitem(obj, index) with "del obj[index]".
* Replace operator.setitem(obj, index, value) with
"obj[index] = value".
* Replace delattr(obj, "attr) with "del obj.attr".
* Replace grc() with sys.getrefcount() for readability.
Diffstat (limited to 'Lib/sched.py')
0 files changed, 0 insertions, 0 deletions