forked from orbit-oss/flask
Change docs to use f-strings
This commit is contained in:
parent
8f422d2b5e
commit
07caa44224
7 changed files with 13 additions and 13 deletions
|
|
@ -51,11 +51,11 @@ Blank lines:
|
|||
segments in code. Example::
|
||||
|
||||
def hello(name):
|
||||
print 'Hello %s!' % name
|
||||
print f'Hello {name}!'
|
||||
|
||||
|
||||
def goodbye(name):
|
||||
print 'See you %s.' % name
|
||||
print f'See you {name}.'
|
||||
|
||||
|
||||
class MyClass(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue