mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	bpo-42620: Improve socket.getsockname doc string (GH-23742)
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit cf3565ca9a)
Co-authored-by: Christian Heimes <christian@python.org>
			
			
This commit is contained in:
		
							parent
							
								
									8e5c61a075
								
							
						
					
					
						commit
						7fe7d83c26
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -3407,8 +3407,9 @@ sock_getsockname(PySocketSockObject *s, PyObject *Py_UNUSED(ignored)) | |||
| PyDoc_STRVAR(getsockname_doc, | ||||
| "getsockname() -> address info\n\
 | ||||
| \n\ | ||||
| Return the address of the local endpoint.  For IP sockets, the address\n\ | ||||
| info is a pair (hostaddr, port)."); | ||||
| Return the address of the local endpoint. The format depends on the\n\ | ||||
| address family. For IPv4 sockets, the address info is a pair\n\ | ||||
| (hostaddr, port)."); | ||||
| 
 | ||||
| 
 | ||||
| #ifdef HAVE_GETPEERNAME         /* Cray APP doesn't have this :-( */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)