commit | 53725a2858fe992cac4b343615b1594f201cced4 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jun 13 19:12:35 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jun 13 19:12:35 1996 +0000 |
tree | 2513b0164fdfdd88b8471f5489c57579d9528997 | |
parent | 2745753b91b1f83f8c24a2e3ed39f103ba1a1043 [diff] |
Added splitnport(), which is like splitport() but returns a numeric port, is forgiving about semi-numeric port numbers, and allows you to specify a default port (default is -1, None returned for nonnumeric port).