parameters: (self, facility, priority)
return_statement: return (facility << 3) | priority
docstring: Encode the facility and priority. You can pass in strings or
          integers - if strings are passed, the facility_names and
          priority_names mapping dictionaries are used to convert them to
          integers.
docstring_summary: Encode the facility and priority. You can pass in strings or
          integers - if strings are passed, the facility_names and
          priority_names mapping dictionaries are used to convert them to
          integers.
docstring_tokens: Encode the facility and priority . You can pass in strings or integers - if strings are passed the facility_names and priority_names mapping dictionaries are used to convert them to integers .
function: def encodePriority(self, facility, priority):
          """
          Encode the facility and priority. You can pass in strings or
          integers - if strings are passed, the facility_names and
          priority_names mapping dictionaries are used to convert them to
          integers.
          """
          if isinstance(facility, basestring):
              facility = self.facility_names[facility]
          if isinstance(priority, basestring):
              priority = self.priority_names[priority]
          return (facility << 3) | priority
function_tokens: def encodePriority ( self , facility , priority ) : if isinstance ( facility , basestring ) : facility = self . facility_names [ facility ] if isinstance ( priority , basestring ) : priority = self . priority_names [ priority ] return ( facility << 3 ) | priority