We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c1a2d2 + cc5d66e commit c8fa551Copy full SHA for c8fa551
mpisppy/utils/strings.py
@@ -8,12 +8,13 @@
8
###############################################################################
9
10
from collections.abc import Iterable
11
+from typing import Optional
12
13
14
def nice_join(
15
seq: Iterable,
16
separator: str = ", ",
- conjunction: str | None = "or",
17
+ conjunction: Optional[str] = "or",
18
warp_in_single_quote: bool = False,
19
) -> str:
20
"""Joins items of a sequence into English phrases using the representation of the items and
0 commit comments