Changeset - 82ec68962a07
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 20 months ago 2023-01-12 03:09:05
ben@sturm.com.au
Use typing.List for compatibility with Python 3.6
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reconcile/statement_reconciler.py
Show inline comments
...
 
@@ -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
0 comments (0 inline, 0 general)