File: demo.py

package info (click to toggle)
sphinx-toolbox 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: python: 11,691; sh: 28; javascript: 25; makefile: 18
file content (11 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
def ellipsis_function(foo: str = ...) -> int: ...  # type: ignore[empty-body]


def ellipsis_function_2(foo: str = ..., *args: int, **kwargs: str) -> int:  # type: ignore[empty-body]
	r"""
	A function with ellipses in the docstring.

	:param foo:
	:param \*args:
	:param \*\*kwargs:
	"""