parameters: (self, objBucket)
return_statement: return -1
docstring: Finds the index for a given bucket object
docstring_summary: Finds the index for a given bucket object
docstring_tokens: Finds the index for a given bucket object
function: def FindBucketIndex(self, objBucket):
          "Finds the index for a given bucket object"
          global buckets
  
          index = 0
          for bucket in buckets:
              if bucket == objBucket:
                  return index
              index = index + 1
  
          #Didn't find the corresponding bucket
          return -1
function_tokens: def FindBucketIndex ( self , objBucket ) : global buckets index = 0 for bucket in buckets : if bucket == objBucket : return index index = index + 1 #Didn't find the corresponding bucket return - 1