Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron authored and Sekenre committed Nov 28, 2022
1 parent 3c1d3bf commit ff42b4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions scripts/ref_leak_test.py
Expand Up @@ -21,8 +21,6 @@

import objgraph

import cbor2


def import_cbor2():
# Similar hack to that used in tests/conftest to get separate C and Python
Expand Down
3 changes: 2 additions & 1 deletion source/tags.c
Expand Up @@ -109,7 +109,8 @@ CBORTag_richcompare(PyObject *aobj, PyObject *bobj, int op)
} else {
a = (CBORTagObject *)aobj;
b = (CBORTagObject *)bobj;
if (a == b) {

if (a == b) {
// Special case: both are the same object
switch (op) {
case Py_EQ: case Py_LE: case Py_GE: ret = Py_True; break;
Expand Down

0 comments on commit ff42b4f

Please sign in to comment.