标签: python python-3.x
我有一个像这样的python类
class Property: propertyId: str
它说
propertyId: str ^ SyntaxError: invalid syntax
它在使用python 3.7的Mac Mojave OS上运行良好 但是在ubuntu服务器上却不起作用。
有什么想法吗?