MKe*_*per 2 python types type-hinting python-3.x
仍然是 Python 类型的新手,替换 ??? 的正确类型是什么?这里?
def update_sqlite(result: dict, db_connection: ???):
pass
with sqlite3.connect('../data/Reports.db') as report_db:
update_sqlite(result, report_db)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
668 次 |
| 最近记录: |