Skip to content

Commit

Permalink
Merge pull request #221 from mithro/combine-liberty-type
Browse files Browse the repository at this point in the history
Add `mmap.mmap` as argument type.
  • Loading branch information
mithro authored Nov 13, 2023
2 parents 927884a + c59eb69 commit 97997e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pdk/liberty/liberty_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
"""Utility functions to prepare the comibined liberty file."""

import itertools
from typing import List
import mmap
from typing import List, Union

from pdk.liberty import cell_parser


def generate_merged_liberty_io_vector(
liberty_files: List[bytes]) -> List[bytes]:
liberty_files: List[Union[bytes, mmap.mmap]]) -> List[bytes]:
"""Generates a merged io vector representing a combined liberty file.
Args:
Expand Down

0 comments on commit 97997e0

Please sign in to comment.