obspy.core.util.decorator.deprecated_keywords

deprecated_keywords(keywords)[source]

Decorator for marking keywords as deprecated.

Note

Actually, this is not a decorator itself but a decorator factory, returning the correct decorator for the specified options. It can be used just like a decorator.

Parameters

keywords (dict) – old/new keyword names as key/value pairs.