Skip to content

Commit

Permalink
Fix bindings build on python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFlt committed Mar 11, 2024
1 parent 39d0110 commit f122084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/python/generator/visp_python_bindgen/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def generate_class(self, bindings_container: BindingsContainer, cls: ClassScope,
If it is templated, the mapping (template argument types => Python class name) must be provided in the JSON config file
'''
def generate_class_with_potiental_specialization(name_python: str, owner_specs: OrderedDict[str, str], cls_config: Dict) -> str:
def generate_class_with_potiental_specialization(name_python: str, owner_specs: 'OrderedDict[str, str]', cls_config: Dict) -> str:
'''
Generate the bindings of a single class, handling a potential template specialization.
The handled information is:
Expand Down

0 comments on commit f122084

Please sign in to comment.