MCPcopy Create free account
hub / github.com/9miao/CrossApp / join

Function join

tools/project-creator/Python2.6.6/Lib/string.py:308–318  ·  view source on GitHub ↗

join(list [,sep]) -> string Return a string composed of the words in list, with intervening occurrences of sep. The default separator is a single space. (joinfields and join are synonymous)

(words, sep = ' ')

Source from the content-addressed store, hash-verified

306
307# Join fields with optional separator
308def join(words, sep = ' '):
309 """join(list [,sep]) -> string
310
311 Return a string composed of the words in list, with
312 intervening occurrences of sep. The default separator is a
313 single space.
314
315 (joinfields and join are synonymous)
316
317 """
318 return sep.join(words)
319joinfields = join
320
321# Find substring, raise exception if not found

Callers 15

splitdocFunction · 0.90
replaceFunction · 0.90
repr1Method · 0.90
markupMethod · 0.90
formattreeMethod · 0.90
docmoduleMethod · 0.90
docclassMethod · 0.90
repr1Method · 0.90
boldMethod · 0.90
indentMethod · 0.90
formattreeMethod · 0.90
docmoduleMethod · 0.90

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected