Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed May 15, 2018
1 parent 80ea601 commit 1cade0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyftpdlib/servers.py
Expand Up @@ -122,6 +122,7 @@ def __exit__(self, *args):

@property
def address(self):
"""The address this server is listening on as a (ip, port) tuple."""
return self.socket.getsockname()[:2]

def _map_len(self):
Expand Down

0 comments on commit 1cade0f

Please sign in to comment.