File: types.py

package info (click to toggle)
python-duckpy 3.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 124 kB
  • sloc: python: 118; sh: 15; makefile: 3
file content (6 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
class ResultDict(dict):
    def __init__(self, title: str, description: str, url: str):
        self.title = title
        self.description = description
        self.url = url
        super().__init__(title=title, description=description, url=url)