Skip to content

Commit

Permalink
Remove **kwargs from NoConvergence
Browse files Browse the repository at this point in the history
This is a follow-up to f9f5087 (Make
some kwargs-arguments named keyword-only arguments).
  • Loading branch information
eerovaher committed Oct 18, 2023
1 parent 6f1637f commit a4f6ec1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions astropy/wcs/wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ def __init__(
niter=None,
divergent=None,
slow_conv=None,
**kwargs,
):
super().__init__(*args)

Expand All @@ -255,14 +254,6 @@ def __init__(
self.divergent = divergent
self.slow_conv = slow_conv

if kwargs:
warnings.warn(
f"Function received unexpected arguments ({list(kwargs)}) these "
"are ignored but will raise an Exception in the "
"future.",
AstropyDeprecationWarning,
)


class FITSFixedWarning(AstropyWarning):
"""
Expand Down

0 comments on commit a4f6ec1

Please sign in to comment.