Skip to content

Commit

Permalink
Add cmp to fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed May 11, 2015
1 parent 28e6089 commit 8955bdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bitfield/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
from six import string_types


def cmp(a, b):
return (a > b) - (a < b)


class Bit(object):
"""
Represents a single Bit.
Expand Down

0 comments on commit 8955bdf

Please sign in to comment.