Skip to content

Commit

Permalink
Fix type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Mar 26, 2024
1 parent 07ccde4 commit 8c9b058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygmt/clib/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ def call_module(self, module: str, args: str | list[str]):
)

# 'args' can be (1) a single string or (2) a list of strings.
argv: bytes | ctp.Array[ctp.c_char_p] | None
if isinstance(args, str):
# 'args' is a single string that contains whitespace-separated arguments.
# In this way, we need to correctly handle option arguments that contains
Expand Down

0 comments on commit 8c9b058

Please sign in to comment.