Use `%r` in `__repr__`.

Suggested by @exhuma in [code review][].
---
[code review]: https://github.com/bd808/python-iptools/commit/9c482874cea656e6d8612980c328aa7776f8e937#commitcomment-2904330