Skip to content

Commit

Permalink
Merge pull request #114 from b5y/master
Browse files Browse the repository at this point in the history
Remove dead code in NodeList class
  • Loading branch information
Psycojoker committed Aug 7, 2016
2 parents 1cb304e + ad10448 commit 497a55f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions redbaron/base_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,14 +385,12 @@ def next_generator(self):
# trick to return an empty generator
# I wonder if I should not raise instead :/
return
yield

def previous_generator(self):
# similary, NodeList will never have next items
# trick to return an empty generator
# I wonder if I should not raise instead :/
return
yield

def apply(self, function):
[function(x) for x in self.data]
Expand Down

0 comments on commit 497a55f

Please sign in to comment.