语言核心
类型与数据模型
并发与异步
底层与性能
工程与综合
生态与收官
附录
29-testing-pytest
29-testing-pytest/04-patch-target/data_service.py
python · 0.2 KB
"""在模块顶层导入 fetch,演示 patch 的「使用处」语义。""" from __future__ import annotations from data_client import fetch def get_data() -> str: return fetch()
该文件由构建期采集,未做任何改写;源码页不进入搜索引擎索引。