mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	In add_label_data() description, use "\samp{}" instead of "``\code{...}''"
to indicate the interpreted letters from the format string.
This commit is contained in:
		
							parent
							
								
									7f6e2c45ec
								
							
						
					
					
						commit
						c9c456ef69
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
					@ -104,10 +104,10 @@ Format specifications are strings which, in combination with a counter
 | 
				
			||||||
value, are used to compute label values.  Each character in the format
 | 
					value, are used to compute label values.  Each character in the format
 | 
				
			||||||
string is copied to the label value, with some characters recognized
 | 
					string is copied to the label value, with some characters recognized
 | 
				
			||||||
to indicate a transform on the counter value.  Specifically, the
 | 
					to indicate a transform on the counter value.  Specifically, the
 | 
				
			||||||
character ``\code{1}'' represents the counter value formatter as an
 | 
					character \samp{1} represents the counter value formatter as an
 | 
				
			||||||
arabic number, the characters ``\code{A}'' and ``\code{a}'' represent
 | 
					arabic number, the characters \samp{A} and \samp{a} represent
 | 
				
			||||||
alphabetic representations of the counter value in upper and lower
 | 
					alphabetic representations of the counter value in upper and lower
 | 
				
			||||||
case, respectively, and ``\code{I}'' and ``\code{i}'' represent the
 | 
					case, respectively, and \samp{I} and \samp{i} represent the
 | 
				
			||||||
counter value in Roman numerals, in upper and lower case.  Note that
 | 
					counter value in Roman numerals, in upper and lower case.  Note that
 | 
				
			||||||
the alphabetic and roman transforms require that the counter value be
 | 
					the alphabetic and roman transforms require that the counter value be
 | 
				
			||||||
greater than zero.
 | 
					greater than zero.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -104,10 +104,10 @@ Format specifications are strings which, in combination with a counter
 | 
				
			||||||
value, are used to compute label values.  Each character in the format
 | 
					value, are used to compute label values.  Each character in the format
 | 
				
			||||||
string is copied to the label value, with some characters recognized
 | 
					string is copied to the label value, with some characters recognized
 | 
				
			||||||
to indicate a transform on the counter value.  Specifically, the
 | 
					to indicate a transform on the counter value.  Specifically, the
 | 
				
			||||||
character ``\code{1}'' represents the counter value formatter as an
 | 
					character \samp{1} represents the counter value formatter as an
 | 
				
			||||||
arabic number, the characters ``\code{A}'' and ``\code{a}'' represent
 | 
					arabic number, the characters \samp{A} and \samp{a} represent
 | 
				
			||||||
alphabetic representations of the counter value in upper and lower
 | 
					alphabetic representations of the counter value in upper and lower
 | 
				
			||||||
case, respectively, and ``\code{I}'' and ``\code{i}'' represent the
 | 
					case, respectively, and \samp{I} and \samp{i} represent the
 | 
				
			||||||
counter value in Roman numerals, in upper and lower case.  Note that
 | 
					counter value in Roman numerals, in upper and lower case.  Note that
 | 
				
			||||||
the alphabetic and roman transforms require that the counter value be
 | 
					the alphabetic and roman transforms require that the counter value be
 | 
				
			||||||
greater than zero.
 | 
					greater than zero.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue