pep8 stylings

This commit is contained in:
Dave Halter
2013-12-27 14:35:12 +01:00
parent 7347c46502
commit 91f377eeb6
3 changed files with 8 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ My **master** branch is a 100% stable (should be). I only push to it after I am
certain that things are working out. Many people are using Jedi directly from certain that things are working out. Many people are using Jedi directly from
the github master branch. the github master branch.
**Please use PEP8 to style your code.** **Try to use the PEP8 style guide.**
Changing Issues to Pull Requests (Github) Changing Issues to Pull Requests (Github)

View File

@@ -112,8 +112,7 @@ class ModuleWithCursor(Module):
# Call the parser already here, because it will be used anyways. # Call the parser already here, because it will be used anyways.
# Also, the position is here important (which will not be used by # Also, the position is here important (which will not be used by
# default), therefore fill the cache here. # default), therefore fill the cache here.
self._parser = fast.FastParser(self.source, self.path, self._parser = fast.FastParser(self.source, self.path, self.position)
self.position)
# don't pickle that module, because it's changing fast # don't pickle that module, because it's changing fast
cache.save_module(self.path, self.name, self._parser, cache.save_module(self.path, self.name, self._parser,
pickling=False) pickling=False)