Skip to content

Commit

Permalink
disable
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Aug 26, 2022
1 parent 393f481 commit 2d3ff1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/utils/deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import warnings


def deprecate_arguments(kwarg_map, docstring_warning=True):
def deprecate_arguments(kwarg_map, docstring_warning=False):
"""Decorator to automatically alias deprecated argument names and warn upon use."""

def decorator(func):
Expand All @@ -37,7 +37,7 @@ def wrapper(*args, **kwargs):
return decorator


def deprecate_function(msg, stacklevel=2, docstring_warning=True):
def deprecate_function(msg, stacklevel=2, docstring_warning=False):
"""Emit a warning prior to calling decorated function.
Args:
Expand Down

0 comments on commit 2d3ff1a

Please sign in to comment.