FunctionSlot.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:CAAPR 作者: Stargrazer82301 项目源码 文件源码
def setRandomApply(self, flag=True):

      """
      Sets the random function application, in this mode, the
      function will randomly choose one slot to apply
      :param flag: True or False
      """

      if type(flag) != BooleanType:
         utils.raiseException("Random option must be True or False", TypeError)

      self.rand_apply = flag

    # -----------------------------------------------------------------
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号