File: demo.py

package info (click to toggle)
sphinx-toolbox 3.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,924 kB
  • sloc: python: 11,636; sh: 26; javascript: 25; makefile: 16
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:
	"""