

def _set_dev_port(port, backend, instance=None, env=os.environ):
    'Sets the port for a backend [instance] in the dev_appserver.\n\n  Args:\n    port: The port.\n    backend: The name of the backend.\n    instance: The backend instance (optional).\n    env: The environment in which to set the port.\n  '
    env[_get_dev_port_var(backend, instance)] = str(port)

dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/backends/backends.py _set_dev_port/original