diff options
Diffstat (limited to 'nbs/export.ipynb')
| -rw-r--r-- | nbs/export.ipynb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nbs/export.ipynb b/nbs/export.ipynb index 1c7cdb9..3983d5d 100644 --- a/nbs/export.ipynb +++ b/nbs/export.ipynb @@ -499,7 +499,7 @@ " exp_path = (Path(src_dir)/module).with_suffix('.py')\n", " src = '\\n'.join(\n", " ['# AUTOGENERATED! DO NOT EDIT!\\n'] +\n", - " list(map(lambda c: fmt_export_cell(c)['source'], cells))\n", + " [fmt_export_cell(c)['source'] for c in cells]\n", " )\n", " Path(exp_path).write_text(src)" ] @@ -558,7 +558,13 @@ ] } ], - "metadata": {}, + "metadata": { + "kernelspec": { + "display_name": "python3", + "language": "python", + "name": "python3" + } + }, "nbformat": 4, "nbformat_minor": 5 } |