(bindings: KeyBindings, binding: Binding)
| 319 | |
| 320 | |
| 321 | def add_binding(bindings: KeyBindings, binding: Binding): |
| 322 | bindings.add( |
| 323 | *binding.keys, |
| 324 | **({"filter": binding.filter} if binding.filter is not None else {}), |
| 325 | )(binding.command) |
| 326 | |
| 327 | |
| 328 | def create_ipython_shortcuts(shell, skip=None) -> KeyBindings: |
no test coverage detected
searching dependent graphs…