From a647b30365593a4a3056fcf6936f5441ab9eda88 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 17:29:45 +1300 Subject: python3: clean up class brackets --- examples/mitmproxywrapper.py | 2 +- examples/tls_passthrough.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/mitmproxywrapper.py b/examples/mitmproxywrapper.py index a3d831ac..eade0fe2 100644 --- a/examples/mitmproxywrapper.py +++ b/examples/mitmproxywrapper.py @@ -15,7 +15,7 @@ import os import sys -class Wrapper(): +class Wrapper: def __init__(self, port, extra_arguments=None): self.port = port self.extra_arguments = extra_arguments diff --git a/examples/tls_passthrough.py b/examples/tls_passthrough.py index eaf78026..79d5fa00 100644 --- a/examples/tls_passthrough.py +++ b/examples/tls_passthrough.py @@ -38,7 +38,7 @@ class InterceptionResult(Enum): skipped = None -class _TlsStrategy(): +class _TlsStrategy: """ Abstract base class for interception strategies. """ -- cgit v1.2.3