简体   繁体   中英

What does *** mean in Python -3?

I was going through an Image Processing Python Script available at http://www.ma.iup.edu/~hedonley/python/ and came across the operator *** .

What does it mean? I know * means multiplication and ** means exponentiation.

It does not mean anything:

Python 3.6.4 (default, Feb 27 2018, 22:13:22)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> foo = ***
  File "<stdin>", line 1
    foo = ***
           ^
SyntaxError: invalid syntax
>>>

Most likely, in the context of the article you linked , it is intended to be a placeholder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM