projects
/
barectf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a209cf4
)
barectf/cgen.py: add missing `Optional` type hint
author
Philippe Proulx
<eeppeliteloop@gmail.com>
Wed, 17 May 2023 15:02:55 +0000
(11:02 -0400)
committer
Philippe Proulx
<eeppeliteloop@gmail.com>
Wed, 17 May 2023 15:02:55 +0000
(11:02 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I8612fc834c371a3cc80ed7cfc94e2859261719b5
barectf/cgen.py
patch
|
blob
|
blame
|
history
diff --git
a/barectf/cgen.py
b/barectf/cgen.py
index 0e771cedc9a1e5ab8378d1ee3b853d5bd55db6e6..1310572b2afe3d38a2cad93db2441ae207cc889f 100644
(file)
--- a/
barectf/cgen.py
+++ b/
barectf/cgen.py
@@
-94,7
+94,7
@@
class _Op:
# The templates of a compound operation handles its suboperations.
class _CompoundOp(_Op):
def __init__(self, ft: barectf_config._FieldType, names: List[str], level: Count,
- templates: _OpTemplates, subops:
List[Any
] = None):
+ templates: _OpTemplates, subops:
Optional[List[Any]
] = None):
super().__init__(ft, names, level, templates)
self._subops = subops
This page took
0.026835 seconds
and
4
git commands to generate.