Skip to content

Commit

Permalink
Fix default, allow fallback.
Browse files Browse the repository at this point in the history
  • Loading branch information
hameerabbasi committed Apr 24, 2019
1 parent e36a2ef commit 2e0e01a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uarray/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def try_backend(self, method: MultiMethod, args: Tuple, kwargs: Dict, coerce: bo


class BackendOptions:
def __init__(self, backend: Backend, coerce: bool = False, only: bool = True, options: Optional[Any] = None):
def __init__(self, backend: Backend, coerce: bool = False, only: bool = False, options: Optional[Any] = None):
"""
The backend plus any additional options associated with it.
Expand All @@ -401,7 +401,7 @@ def __init__(self, backend: Backend, coerce: bool = False, only: bool = True, op
Whether or not the backend is being coerced. Implies ``only``.
only: bool, optional
Whether or not this is the only backend to try.
options: Optional[Any]
options: Optional[Any], optional
Any additional options to pass to the backend.
"""
self.backend = backend
Expand Down

0 comments on commit 2e0e01a

Please sign in to comment.