File: misc_py313.py

package info (click to toggle)
python-pdoc 15.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,192 kB
  • sloc: python: 8,013; javascript: 1,156; makefile: 18; sh: 3
file content (14 lines) | stat: -rw-r--r-- 207 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from warnings import deprecated


class MyDict(dict):
    pass


class CustomException(RuntimeError):
    """custom exception type"""


@deprecated("Do not use this anymore")
def deprecated_func():
    pass