Skip to content

Instantly share code, notes, and snippets.

@freakboy3742
Created January 18, 2014 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save freakboy3742/8493564 to your computer and use it in GitHub Desktop.
Save freakboy3742/8493564 to your computer and use it in GitHub Desktop.
E126 brain death.
pep8_compliant = MyObject(
"this is quite a long string that is"
"going to go on for quite a while",
"but it's a different string to this one."
)
sane = MyObject(
"this is quite a long string that is"
"going to go on for quite a while",
"but it's a different string to this one."
)
@alex
Copy link

alex commented Jan 18, 2014

pep8_compliant = MyObject(
    ("this is quite a long string that is"
     "going to go on for quite a while"),
    "but it's a different string to this one."
)

@dstufft
Copy link

dstufft commented Jan 18, 2014

best_one = MyObject(
    (
        "this is quite a long string that is"
        "going to go on for quite a while"
    ),
    "but it's a different string to this one.",
)

@Tinche
Copy link

Tinche commented Jan 18, 2014

first_arg = ("this is quite a long string that is"
             "going to go on for quite a while")
obj = MyObject(first_arg, "but it's a different string to this one.")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment