Last active
July 28, 2017 10:49
-
-
Save chermehdi/04f0fdb6c942e94bb6011732e530040b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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): | |
byte_string = 'newline:\n also newline:\x0a' | |
text_string = u"Cyrillic Я is \u042f. Oops: \u042g" | |
self.makeSense(whatever=1) | |
def makeSense(self, whatever): | |
self.sense = whatever | |
x = len('abc') | |
print(f.__doc__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment