mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	[3.13] Docs: Move "or" outside monospace syntax in tarfile.rst (GH-136263) (GH-136348)
Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263)
(cherry picked from commit ade1988094)
			
			
This commit is contained in:
		
							parent
							
								
									52180bfb37
								
							
						
					
					
						commit
						bc3390c00a
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -56,8 +56,8 @@ Some facts and figures:
 | 
			
		|||
   +------------------+---------------------------------------------+
 | 
			
		||||
   | mode             | action                                      |
 | 
			
		||||
   +==================+=============================================+
 | 
			
		||||
   | ``'r' or 'r:*'`` | Open for reading with transparent           |
 | 
			
		||||
   |                  | compression (recommended).                  |
 | 
			
		||||
   | ``'r'`` or       | Open for reading with transparent           |
 | 
			
		||||
   | ``'r:*'``        | compression (recommended).                  |
 | 
			
		||||
   +------------------+---------------------------------------------+
 | 
			
		||||
   | ``'r:'``         | Open for reading exclusively without        |
 | 
			
		||||
   |                  | compression.                                |
 | 
			
		||||
| 
						 | 
				
			
			@ -85,10 +85,11 @@ Some facts and figures:
 | 
			
		|||
   |                  | Raise a :exc:`FileExistsError` exception    |
 | 
			
		||||
   |                  | if it already exists.                       |
 | 
			
		||||
   +------------------+---------------------------------------------+
 | 
			
		||||
   | ``'a' or 'a:'``  | Open for appending with no compression. The |
 | 
			
		||||
   |                  | file is created if it does not exist.       |
 | 
			
		||||
   | ``'a'`` or       | Open for appending with no compression. The |
 | 
			
		||||
   | ``'a:'``         | file is created if it does not exist.       |
 | 
			
		||||
   +------------------+---------------------------------------------+
 | 
			
		||||
   | ``'w' or 'w:'``  | Open for uncompressed writing.              |
 | 
			
		||||
   | ``'w'`` or       | Open for uncompressed writing.              |
 | 
			
		||||
   | ``'w:'``         |                                             |
 | 
			
		||||
   +------------------+---------------------------------------------+
 | 
			
		||||
   | ``'w:gz'``       | Open for gzip compressed writing.           |
 | 
			
		||||
   +------------------+---------------------------------------------+
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue