Use typing.List for compatibility with Python 3.6
This commit is contained in:
		
							parent
							
								
									71bf8137a5
								
							
						
					
					
						commit
						82ec68962a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -256,7 +256,7 @@ def format_record(record: dict) -> str: | |||
|     return output | ||||
| 
 | ||||
| 
 | ||||
| def format_multirecord(r1s: list[dict], r2s: list[dict], note: str) -> list[list]: | ||||
| def format_multirecord(r1s: List[dict], r2s: List[dict], note: str) -> List[list]: | ||||
|     """Generates output lines for one statement:multiple books transaction match.""" | ||||
|     assert len(r1s) == 1 | ||||
|     assert len(r2s) > 1 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue