Reduce code duplication for pre-3.11 binary ops, based on #348

This commit is contained in:
Michael Hansen
2023-06-01 13:55:17 -07:00
parent 90815b47ca
commit 409f175827
6 changed files with 101 additions and 245 deletions

View File

@@ -22,4 +22,4 @@ print('Bitwise right shift:', a >> b)
print('Membership in:', a in b)
print('Membership not in:', a not in b)
print('Identity equality:', a is b)
print('Identity inequality:', a is not b)
print('Identity inequality:', a is not b)