mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	Use true booleans and PEP8 for argdefaults.
This commit is contained in:
		
							parent
							
								
									3d6575dfc8
								
							
						
					
					
						commit
						fe99105835
					
				
					 9 changed files with 21 additions and 21 deletions
				
			
		|  | @ -67,7 +67,7 @@ def application_uri(environ): | |||
|     url += quote(environ.get('SCRIPT_NAME') or '/') | ||||
|     return url | ||||
| 
 | ||||
| def request_uri(environ, include_query=1): | ||||
| def request_uri(environ, include_query=True): | ||||
|     """Return the full request URI, optionally including the query string""" | ||||
|     url = application_uri(environ) | ||||
|     from urllib.parse import quote | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl