File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 4
4
from pygmt .helpers .decorators import (
5
5
deprecate_parameter ,
6
6
fmt_docstring ,
7
- insert_alias ,
8
7
kwargs_to_strings ,
9
8
use_alias ,
10
9
)
Original file line number Diff line number Diff line change @@ -323,9 +323,9 @@ def fmt_docstring(module_func):
323
323
return module_func
324
324
325
325
326
- def insert_alias (module_func , default_value = None ):
326
+ def _insert_alias (module_func , default_value = None ):
327
327
"""
328
- Decorator insertings aliases into the signature of a method.
328
+ Function to insert PyGMT long aliases into the signature of a method.
329
329
"""
330
330
331
331
# Get current signature and parameters
@@ -408,7 +408,7 @@ def new_module(*args, **kwargs):
408
408
409
409
new_module .aliases = aliases
410
410
411
- new_module = insert_alias (new_module )
411
+ new_module = _insert_alias (new_module )
412
412
413
413
return new_module
414
414
You can’t perform that action at this time.
0 commit comments