File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1379,7 +1379,7 @@ These can be used as types in annotations. They all support subscription using
13791379      a1 = Annotated[int, ValueRange(3, 10), ctype("char")] 
13801380      a2 = Annotated[int, ctype("char"), ValueRange(3, 10)] 
13811381
1382-       assert a1 != a2 # Order matters 
1382+       assert a1 != a2   # Order matters 
13831383
13841384   It is up to the tool consuming the annotations to decide whether the
13851385   client is allowed to add multiple metadata elements to one annotation and how to
@@ -1447,6 +1447,7 @@ These can be used as types in annotations. They all support subscription using
14471447
14481448     .. doctest ::
14491449
1450+         >>> from  typing import  Annotated, get_origin
14501451        >>> Password =  Annotated[str , " secret"  
14511452        >>> Password.__origin__ 
14521453        <class 'str'> 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments