parameters: (self, laneID, disallowedClasses)
docstring: setDisallowed(string, list) -> None
  
          Sets a list of disallowed vehicle classes.
docstring_summary: setDisallowed(string, list) -> None
docstring_tokens: setDisallowed ( string list ) - > None
function: def setDisallowed(self, laneID, disallowedClasses):
          """setDisallowed(string, list) -> None
  
          Sets a list of disallowed vehicle classes.
          """
          if isinstance(disallowedClasses, str):
              disallowedClasses = [disallowedClasses]
          self._setCmd(tc.LANE_DISALLOWED, laneID, "l", disallowedClasses)
function_tokens: def setDisallowed ( self , laneID , disallowedClasses ) : if isinstance ( disallowedClasses , str ) : disallowedClasses = [ disallowedClasses ] self . _setCmd ( tc . LANE_DISALLOWED , laneID , "l" , disallowedClasses )