代码示例:(标识:python_ref_keyword_from)
python_ref_keyword_from.py
from datetime import time

x = time(hour=15)

print(x)
运行结果: