1
0
forked from VimPlug/jedi

added dict.get, because it returned tuples (don't ask why)

This commit is contained in:
David Halter
2012-09-03 17:00:37 +02:00
parent 77dac95ee0
commit d143024408

View File

@@ -163,6 +163,14 @@ class dict():
# has a strange docstr # has a strange docstr
pass pass
def get(self, k, d=None):
# TODO implement
try:
#return self.__elements[k]
pass
except KeyError:
return d
#-------------------------------------------------------- #--------------------------------------------------------
# basic types # basic types