#coding:utf-8 @decorator(param=1) def f(x): """ Syntax Highlighting Demo @param x Parameter""" s = ("Test", 2+3, {'a': 'b'}, x) # Comment print s[0].lower() class Foo: def __init__(self): self.sense = None byte_string = 'newline:\n also newline:\x0a' text_string = u"Cyrillic Я is \u042f. Oops: \\u042g" def makeSense(self, whatever): self.sense = whatever x = len('abc') print(f.__doc__)