MCPcopy Index your code
hub / github.com/googlemaps/google-maps-services-python / join_list

Function join_list

googlemaps/convert.py:132–143  ·  view source on GitHub ↗

If arg is list-like, then joins it with sep. :param sep: Separator string. :type sep: string :param arg: Value to coerce into a list. :type arg: string or list of strings :rtype: string

(sep, arg)

Source from the content-addressed store, hash-verified

130
131
132def join_list(sep, arg):
133 """If arg is list-like, then joins it with sep.
134
135 :param sep: Separator string.
136 :type sep: string
137
138 :param arg: Value to coerce into a list.
139 :type arg: string or list of strings
140
141 :rtype: string
142 """
143 return sep.join(as_list(arg))
144
145
146def as_list(arg):

Callers

nothing calls this directly

Calls 1

as_listFunction · 0.85

Tested by

no test coverage detected