mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Remove unecessary ‘else’ statement
This commit is contained in:
parent
71e64592a7
commit
18df85f57c
|
@ -5,8 +5,6 @@ from ..utils.trim_docstring import trim_docstring
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
from typing import Type
|
from typing import Type
|
||||||
else:
|
|
||||||
Type = type
|
|
||||||
|
|
||||||
|
|
||||||
class BaseOptions(object):
|
class BaseOptions(object):
|
||||||
|
|
|
@ -6,8 +6,6 @@ from .unmountedtype import UnmountedType
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
from typing import Any
|
from typing import Any
|
||||||
else:
|
|
||||||
Any = object
|
|
||||||
|
|
||||||
|
|
||||||
class ScalarOptions(BaseOptions):
|
class ScalarOptions(BaseOptions):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user