def get_ident():
"""Dummy implementation of _thread.get_ident().
Since this module should only be used when _threadmodule is not
available, it is safe to assume that the current process is the
only thread. Thus a constant can be safely returned.
"""
return -1
_dummy_thread32.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录