diff options
Diffstat (limited to 'python/netlink/core.py')
-rw-r--r-- | python/netlink/core.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/python/netlink/core.py b/python/netlink/core.py index b6cf7e9..0ffa22f 100644 --- a/python/netlink/core.py +++ b/python/netlink/core.py @@ -32,7 +32,6 @@ from __future__ import absolute_import from . import capi import sys import socket -import struct __all__ = ['Message', 'Socket', 'DumpParams', 'Object', 'Cache', 'KernelError', 'NetlinkError'] @@ -619,9 +618,6 @@ class AddressFamily(object): def __str__(self): return capi.nl_af2str(self._family, 32)[0] - def __len__(self): - return len(str(self)) - def __int__(self): return self._family |