mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
* mainloop.py: added facility for calling select(). Also added
embryonic facility for pseudo-modal dialogs. * stdwinevents.py: added modifier masks for key/mouse events * renamed exceptions in nntplib.py * Changed string.join() to call string.joinfields() to profit of strop.joinfields()
This commit is contained in:
parent
c89705d697
commit
18fc5696c8
7 changed files with 374 additions and 28 deletions
|
@ -82,10 +82,7 @@ def splitfields(s, sep):
|
|||
|
||||
# Join words with spaces between them
|
||||
def join(words):
|
||||
res = ''
|
||||
for w in words:
|
||||
res = res + (' ' + w)
|
||||
return res[1:]
|
||||
return joinfields(words, ' ')
|
||||
|
||||
# Join fields with separator
|
||||
def joinfields(words, sep):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue