You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			468 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			18 lines
		
	
	
		
			468 B
		
	
	
	
		
			Python
		
	
"""Character sets."""
 | 
						|
 | 
						|
from __future__ import annotations
 | 
						|
 | 
						|
 | 
						|
class Charset:
 | 
						|
    """Define character sets used in other classes."""
 | 
						|
 | 
						|
    ALPHA = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
 | 
						|
    DIGIT = '0123456789'
 | 
						|
    HEX_DIGIT = '0123456789ABCDEFabcdef'
 | 
						|
    GEN_DELIMS = ':/?#[]@'
 | 
						|
    SUB_DELIMS = "!$&'()*+,;="
 | 
						|
    UNRESERVED = ALPHA + DIGIT + '-._~'
 | 
						|
    RESERVED = GEN_DELIMS + SUB_DELIMS
 | 
						|
    VAR_START = ALPHA + DIGIT + '_'
 | 
						|
    VAR_CHAR = VAR_START + '.'
 |