(
name: str,
args: Tuple = (),
kwargs: Mapping[str, Any] = {}, # noqa: B006
*,
sep: str = ", ",
)
| 249 | |
| 250 | |
| 251 | def reprcall( |
| 252 | name: str, |
| 253 | args: Tuple = (), |
| 254 | kwargs: Mapping[str, Any] = {}, # noqa: B006 |
| 255 | *, |
| 256 | sep: str = ", ", |
| 257 | ) -> str: |
| 258 | return "{0}({1}{2}{3})".format( |
| 259 | name, |
| 260 | sep.join(map(repr, args or ())), |
| 261 | (args and kwargs) and sep or "", |
| 262 | reprkwargs(kwargs, sep=sep), |
| 263 | ) |