Skip to content

Added default value for err variable. #338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 5, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions doc/pymode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ after them 'C' and ...
>
let g:pymode_lint_sort = []

Auto open cwindow (quickfix) if any errors has been finded
Auto open cwindow (quickfix) if any errors have been found
*'g:pymode_lint_cwindow'*
>
let g:pymode_lint_cwindow = 1
Expand All @@ -335,7 +335,7 @@ Definitions for |signs|
3. Rope support ~
*pymode-rope*

Pymode support Rope refactoring operations, code completion and code assists.
Pymode supports Rope refactoring operations, code completion and code assists.

Commands:
|:PymodeRopeAutoImport| -- Resolve import for element under cursor
Expand Down Expand Up @@ -397,8 +397,8 @@ Regenerate project cache on every save (if file has been modified)
4.1 Completion ~
*pymode-completion*

By default you can use <Ctrl-Space> for autocompletion. Will be
automatically selected first entry and you can press <Return> to insert in
By default you can use <Ctrl-Space> for autocompletion. The first entry will
be automatically selected and you can press <Return> to insert the entry in
your code. <C-X><C-O> and <C-P>/<C-N> works too.

Autocompletion is also called by typing a period in |Insert| mode by default.
Expand Down Expand Up @@ -552,8 +552,9 @@ Turn on pymode syntax *'g:pymode_syntax'*
>
let g:pymode_syntax = 1

More slow synchronizing. Disable on the slow machine, but code in docstrings
could be broken. *'g:pymode_syntax_slow_sync'*
Slower syntax synchronization that is better at handling code blocks in
docstrings. Consider disabling this on slower hardware.
*'g:pymode_syntax_slow_sync'*
>
let g:pymode_syntax_slow_sync = 1

Expand Down
2 changes: 1 addition & 1 deletion pymode/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def run_code():
""" Run python code in current buffer. """

errors = []
errors, err = [], ''
line1, line2 = env.var('a:line1'), env.var('a:line2')
lines = __prepare_lines(line1, line2)

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy