我有一些python代码:
_name = "football.player"
_description = "Football Player"
def age_calc(self, cr, uid, ids, fields, arg, context=None):
当我通过按下,cc
NERD_commenter 来评论它时,它看起来像这样:
_name = "football.player"
# _description = "Football Player"
# def age_calc(self, cr, uid, ids, fields, arg, context=None):
但是取消注释后,使用,cu
它看起来像这样:
_name = "football.player"
_description = "Football Player"
def age_calc(self, cr, uid, ids, fields, arg, context=None):
为什么这个未注释的块看起来移动了 1 个空格而不是在其原始位置?以及如何解决?