parameters: (num)
return_statement: return ret
docstring: Find the highest bit set to 0 in an integer.
docstring_summary: Find the highest bit set to 0 in an integer.
docstring_tokens: Find the highest bit set to 0 in an integer .
function: def _count0Bits(num):
      """Find the highest bit set to 0 in an integer."""
  
      # this could be so easy if _count1Bits(~int(num)) would work as excepted
      num = int(num)
      if num < 0:
          raise ValueError("Only positive Numbers please: %s" % (num))
      ret = 0
      while num > 0:
          if num & 1 == 1:
              break
          num = num >> 1
          ret += 1
      return ret
function_tokens: def _count0Bits ( num ) : # this could be so easy if _count1Bits(~int(num)) would work as excepted num = int ( num ) if num < 0 : raise ValueError ( "Only positive Numbers please: %s" % ( num ) ) ret = 0 while num > 0 : if num & 1 == 1 : break num = num >> 1 ret += 1 return ret