mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
change option "between top-level classes and functions" to "around ...", ensure that we put two lines between import and class (PY-7743)
This commit is contained in:
@@ -9,5 +9,5 @@ a = "{n:d} bottles of {what:>s} on the {where:>s}"\
|
||||
"{new_n:#d} {{that is, {percent:+3.2f}% less}} "\
|
||||
"bottles of {what:>6s} on the {where:>s}"\
|
||||
.format(n=n, where="wall", howmuch=u'one', how="'round\t", new_n=(n - 1), percent=100 * (1 - ((n - 1.0) / n)),
|
||||
what="beer")
|
||||
what="beer")
|
||||
print a
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
def newlist(x, y):
|
||||
return (x + y) / y
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
def foo():
|
||||
return "foo"
|
||||
|
||||
|
||||
u'a%sf' % foo()
|
||||
Reference in New Issue
Block a user