【发布时间】:2016-05-29 01:50:06
【问题描述】:
我正在尝试添加一些>>> DocStrings。这是我的一段代码:
def service_destroy(service)
=begin
service_check(service) retun 0 || 1
1 if service up and running
0 otherwise
=end
...
根据documentation和其他questions,必须忽略,但我有语法错误:
syntax error, unexpected '='
=begin
^
【问题讨论】: