return 之前的冒号 : 的作用是什么?这是 Python 中的风格吗?
def close(self): """ Close this connection. :returns: None """ self.conn.close() return Run Code Online (Sandbox Code Playgroud)
def close(self): """ Close this connection. :returns: None """ self.conn.close() return
python comments
comments ×1
python ×1