MCPcopy Index your code
hub / github.com/python/cpython / getwelcome

Method getwelcome

Lib/ftplib.py:165–170  ·  view source on GitHub ↗

Get the welcome message from the server. (this is read and squirreled away by connect())

(self)

Source from the content-addressed store, hash-verified

163 return self.welcome
164
165 def getwelcome(self):
166 '''Get the welcome message from the server.
167 (this is read and squirreled away by connect())'''
168 if self.debugging:
169 print('*welcome*', self.sanitize(self.welcome))
170 return self.welcome
171
172 def set_debuglevel(self, level):
173 '''Set the debugging level.

Callers 2

test_getwelcomeMethod · 0.45
test_getwelcomeMethod · 0.45

Calls 1

sanitizeMethod · 0.95

Tested by 2

test_getwelcomeMethod · 0.36
test_getwelcomeMethod · 0.36