mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
20 lines
407 B
Python
20 lines
407 B
Python
from datetime import datetime
|
|
from typing import Any
|
|
|
|
CONSTANT = 'foo'
|
|
SENTINEL = object()
|
|
|
|
|
|
def foo(name: str = CONSTANT,
|
|
sentinel: Any = SENTINEL,
|
|
now: datetime = datetime.now()) -> None:
|
|
"""docstring"""
|
|
|
|
|
|
class Class:
|
|
"""docstring"""
|
|
|
|
def meth(self, name: str = CONSTANT, sentinel: Any = SENTINEL,
|
|
now: datetime = datetime.now()) -> None:
|
|
"""docstring"""
|