Skip to content
Snippets Groups Projects
Commit bb298e14 authored by Jan Zerdik's avatar Jan Zerdik
Browse files

Deletion of unused function

parent 69204d1a
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,6 @@ import socket ...@@ -11,7 +11,6 @@ import socket
import struct import struct
import numbers import numbers
import sys import sys
import operator
try: try:
basestring basestring
...@@ -148,14 +147,6 @@ class IPNetBase(IPBase): ...@@ -148,14 +147,6 @@ class IPNetBase(IPBase):
def __hash__(self): def __hash__(self):
return hash((self.base, self.mask)) return hash((self.base, self.mask))
def check_types(f):
def wrapper(a, b):
raise RuntimeError("AAAa")
if not isinstance(b, type(a)):
return NotImplemented
else:
return f(a, b)
_opperations = {'__lt__': '<', '__le__': '<=', '__gt__': '>', '__ge__': '>='} _opperations = {'__lt__': '<', '__le__': '<=', '__gt__': '>', '__ge__': '>='}
class IPAddrBase(IPBase): class IPAddrBase(IPBase):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment