Skip to content

Commit

Permalink
No one is using func_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Kampf committed Jun 2, 2019
1 parent 5b40324 commit db6ed96
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions graphene/pyutils/compat.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
from __future__ import absolute_import

import six

from graphql.pyutils.compat import Enum

try:
from inspect import signature
except ImportError:
from .signature import signature

if six.PY2:

def func_name(func):
return func.func_name


else:

def func_name(func):
return func.__name__

0 comments on commit db6ed96

Please sign in to comment.