mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
No need for copy
This commit is contained in:
parent
c23ba2a87f
commit
a6f604a540
@ -170,8 +170,8 @@ class Notebook:
|
||||
self.add_cell(cell_type=cell_type,
|
||||
content=value)
|
||||
|
||||
def extend(self, value):
|
||||
self.append(*copy(value))
|
||||
def extend(self, values):
|
||||
self.append(*values)
|
||||
|
||||
def run_all(self):
|
||||
for cell in self:
|
||||
|
Loading…
Reference in New Issue
Block a user