diff --git a/staticjinja/staticjinja.py b/staticjinja/staticjinja.py
index <HASH>..<HASH> 100755
--- a/staticjinja/staticjinja.py
+++ b/staticjinja/staticjinja.py
@@ -26,13 +26,7 @@ def _has_argument(func):
     :param func:
         The function to be tested for existence of an argument.
     """
-    if hasattr(inspect, 'signature'):
-        # New way in python 3.3
-        sig = inspect.signature(func)
-        return bool(sig.parameters)
-    else:
-        # Old way
-        return bool(inspect.getargspec(func).args)
+    return bool(inspect.signature(func).parameters)
 
 
 class Site(object):
Update use of deprecated `inspect.getargspec()`

The newer version, `inspect.signature()`, has been around since
python <I>, and we don't support versions before <I>.