I hereby claim:
- I am freakboy3742 on github.
- I am freakboy3742 (https://keybase.io/freakboy3742) on keybase.
- I have a public key whose fingerprint is CBE7 4366 F6CA 0A0D 4BA7 D2F8 3D2D AB6A 37BB 5BC3
To claim this, I am signing this object:
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." |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
from __future__ import print_function, unicode_literals, absolute_import | |
import toga | |
if __name__ == '__main__': | |
def build(app): | |
main_container = toga.Container() |
From: Salmon of Doubt by Douglas Adams
There’s always a moment when you start to fall out of love, whether it’s with a person or an idea or a cause, even if it’s one you only narrate to yourself years after the event: a tiny thing, a wrong word, a false note, which means that things can never be quite the same again. For me it was hearing a stand-up comedian make the following observation: “These scientists, eh? They’re so stupid! You know those black-box flight recorders they put on aeroplanes? And you know they’re meant to be indestructible?
It’s always the thing that doesn’t get smashed? So why don’t they make the planes out of the same stuff?” The audience roared with laughter at how stupid scientists were, couldn’t think their way out of a paper bag, but I sat feeling uncomfortable. Was I just being pedantic to feel that the joke didn’t really work because flight recorders are made out of titanium and that if you made planes out of titanium rather than aluminium, they’d be far too heavy to get off the
diff --git a/django/contrib/admin/checks.py b/django/contrib/admin/checks.py | |
index d8f7fe5..7a7c651 100644 | |
--- a/django/contrib/admin/checks.py | |
+++ b/django/contrib/admin/checks.py | |
@@ -560,9 +560,10 @@ class ModelAdminChecks(BaseModelAdminChecks): | |
id='admin.E105', | |
) | |
] | |
- elif not issubclass(inline.model, models.Model): | |
- return must_be('a Model', option='%s.model' % inline_label, |
Recommended: | |
Booq http://www.booqbags.com/us/backpacks | |
Tom Bihn http://www.tombihn.com/laptop-bags/TB0111.html | |
LL Bean http://global.llbean.com/shop/Ridge-Runner-25-Day-Pack/88843.html | |
Targus | |
Timbuk2 | |
Thule http://www.thule.com.au/details.php?p_id=854&listid=36&slistid=&seo=(New)_TCBP-417____32_Litre_Laptop_Backpack | |
Everki http://www.everki.com | |
Found; looks interesting: |
class JavaClass: | |
# Details go here | |
pass | |
class JavaInterface: | |
# Details go here | |
pass | |
class JavaClass: | |
# Details go here | |
pass | |
class JavaInterface: | |
# Details go here | |
pass | |
class MyStringAnalog(implements=java.lang.CharSequence): | |
def __init__(self, value): | |
self.value = value | |
def charAt(self, index: int) -> char: | |
return 'x' | |
def length(self) -> int: | |
return len(self.value) |
package org.python.java; | |
public class Object extends org.python.types.Object { | |
static | |
// public static org.python.Object convert(java.lang.Object java) { | |
// if (java instanceof java.lang.String) { | |
// return new org.python.types.Str((java.lang.String) java); | |
// } else { | |
// return new org.python.java.Object(java); |