python中的"..."是什么?

jmu*_*sch 5 python python-3.x

我看到这个省略号/三点运算符aiohttp:

    if debug is ...:
        debug = loop.get_debug()
Run Code Online (Sandbox Code Playgroud)
  • 它叫什么,它做了什么?
  • 它是某种解构,还是传播运营商?
  • **some_kwargs和它有什么不同*some_args

在这个特定的例子中:

>>> ...
Ellipsis
>>> x = Ellipsis
>>> x is ...
True
>>> ... is ...
True
Run Code Online (Sandbox Code Playgroud)

码: