bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def info_active(self): | def info_active(self): | 23,500 |
def info_anchor(self): | def info_anchor(self): | 23,501 |
def info_down(self, index): | def info_down(self, index): | 23,502 |
def info_left(self, index): | def info_left(self, index): | 23,503 |
def info_right(self, index): | def info_right(self, index): | 23,504 |
def info_selection(self): | def info_selection(self): | 23,505 |
def info_size(self): | def info_size(self): | 23,506 |
def info_up(self, index): | def info_up(self, index): | 23,507 |
def nearest(self, x, y): | def nearest(self, x, y): | 23,508 |
def see(self, index): | def see(self, index): | 23,509 |
def selection_clear(self, cnf={}, **kw): | def selection_clear(self, cnf={}, **kw): | 23,510 |
def selection_includes(self, index): | def selection_includes(self, index): | 23,511 |
def selection_set(self, first, last=None): | def selection_set(self, first, last=None): | 23,512 |
def xview(self, *args): | def xview(self, *args): | 23,513 |
def yview(self, *args): | def yview(self, *args): | 23,514 |
def __init__(self, master=None, cnf={}, **kw): | def __init__(self, master=None, cnf={}, **kw): | 23,515 |
def autosetmode(self): | def autosetmode(self): | 23,516 |
def close(self, entrypath): | def close(self, entrypath): | 23,517 |
def getmode(self, entrypath): | def getmode(self, entrypath): | 23,518 |
def open(self, entrypath): | def open(self, entrypath): | 23,519 |
def setmode(self, entrypath, mode='none'): | def setmode(self, entrypath, mode='none'): | 23,520 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,521 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,522 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,523 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,524 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,525 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,526 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,527 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,528 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,529 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,530 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,531 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,532 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,533 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,534 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,535 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,536 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,537 |
def __init__(self, master, name, destroy_physically=1): | def __init__(self, master, name, destroy_physically=1): | 23,538 |
def __init__(self, master, name, destroy_physically=0): | def __init__(self, master, name, destroy_physically=0): | 23,539 |
#ifdef WITHOUT_FRAMEWORKS | #ifdef WITHOUT_FRAMEWORKS | 23,540 |
#ifdef WITHOUT_FRAMEWORKS | #ifdef WITHOUT_FRAMEWORKS | 23,541 |
#ifdef WITHOUT_FRAMEWORKS | #ifdef WITHOUT_FRAMEWORKS | 23,542 |
#ifdef WITHOUT_FRAMEWORKS | #ifdef WITHOUT_FRAMEWORKS | 23,543 |
def output_tp_initBody(self): Output("PyObject *v;") Output("char *kw[] = {\"itself\", 0};") Output() Output("if (!PyArg_ParseTupleAndKeywords(args, kwds, \"O\", kw, &v))") Output("return -1;") Output("if (myPyMac_GetFSRef(v, &((%s *)self)->ob_itself)) return 0;", self.objecttype) Output("return -1;") | defgetsetlist = [ ("data", """int size; PyObject *rv; size = GetHandleSize((Handle)self->ob_itself); HLock((Handle)self->ob_itself); rv = PyString_FromStringAndSize(*(Handle)self->ob_itself, size); HUnlock((Handle)self->ob_itself); return rv; """, None, "Raw data of the alias object" ) ] output_tp_initBody(self):gets... | 23,544 |
def parseArgumentList(self, args): args0, arg1, argsrest = args[:1], args[1], args[2:] t0, n0, m0 = arg1 args = args0 + argsrest if m0 != InMode: raise ValueError, "method's 'self' must be 'InMode'" self.itself = Variable(t0, "_self->ob_itself", SelfMode) FunctionGenerator.parseArgumentList(self, args) self.argumentLis... | def parseArgumentList(self, args): args0, arg1, argsrest = args[:1], args[1], args[2:] t0, n0, m0 = arg1 args = args0 + argsrest if m0 != InMode: raise ValueError, "method's 'self' must be 'InMode'" self.itself = Variable(t0, "_self->ob_itself", SelfMode) FunctionGenerator.parseArgumentList(self, args) self.argumentLis... | 23,545 |
def softspace(file, newvalue): oldvalue = 0 try: oldvalue = file.softspace except AttributeError: pass try: file.softspace = newvalue except TypeError: # "attribute-less object" or "read-only attributes" pass return oldvalue | def softspace(file, newvalue): oldvalue = 0 try: oldvalue = file.softspace except AttributeError: pass try: file.softspace = newvalue except (AttributeError, TypeError): # "attribute-less object" or "read-only attributes" pass return oldvalue | 23,546 |
def _setval(self, pos, val): f = _open(self._datfile, 'rb+') f.seek(pos) f.write(val) f.close() return pos, (val) | def _setval(self, pos, val): f = _open(self._datfile, 'rb+') f.seek(pos) f.write(val) f.close() return (pos, len(val)) | 23,547 |
def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | def AskPassword(prompt, default='', id=264, ok=None, cancel=None): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Ca... | 23,548 |
def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | 23,549 |
def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | 23,550 |
def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | 23,551 |
def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | 23,552 |
def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | def AskPassword(prompt, default='', id=264): """Display a PROMPT string and a text entry field with a DEFAULT string. The string is displayed as bullets only. Return the contents of the text entry field when the user clicks the OK button or presses Return. Return None when the user clicks the Cancel button. If omitt... | 23,553 |
def test(): import time Message("Testing EasyDialogs.") ok = AskYesNoCancel("Do you want to proceed?") ok = AskYesNoCancel("Do you want to identify?", yes="Indentify", no="Don't identify") if ok > 0: s = AskString("Enter your first name", "Joe") Message("Thank you,\n%s" % `s`) text = ( "Working Hard...", "Hardly Worki... | def test(): import time Message("Testing EasyDialogs.") ok = AskYesNoCancel("Do you want to proceed?") ok = AskYesNoCancel("Do you want to identify?", yes="Identify", no="No") if ok > 0: s = AskString("Enter your first name", "Joe") Message("Thank you,\n%s" % `s`) text = ( "Working Hard...", "Hardly Working..." , "So ... | 23,554 |
def test(): import time Message("Testing EasyDialogs.") ok = AskYesNoCancel("Do you want to proceed?") ok = AskYesNoCancel("Do you want to identify?", yes="Indentify", no="Don't identify") if ok > 0: s = AskString("Enter your first name", "Joe") Message("Thank you,\n%s" % `s`) text = ( "Working Hard...", "Hardly Worki... | def test(): import time Message("Testing EasyDialogs.") ok = AskYesNoCancel("Do you want to proceed?") ok = AskYesNoCancel("Do you want to identify?", yes="Indentify", no="Don't identify") if ok > 0: s = AskString("Enter your first name", "Joe") s2 = AskPassword("Okay %s, tell us your nickname"%s, s, cancel="None") if... | 23,555 |
def retrlines(self, cmd, callback = None): '''Retrieve data in line mode. The argument is a RETR or LIST command. The callback function (2nd argument) is called for each line, with trailing CRLF stripped. This creates a new port for you. print_line() is the default callback.''' if not callback: callback = print_line r... | def retrlines(self, cmd, callback = None): '''Retrieve data in line mode. The argument is a RETR or LIST command. The callback function (2nd argument) is called for each line, with trailing CRLF stripped. This creates a new port for you. print_line() is the default callback.''' if not callable(callback): callback = pr... | 23,556 |
def detect_modules(self): # Ensure that /usr/local is always used add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') | def detect_modules(self): # Ensure that /usr/local is always used add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') | 23,557 |
def __repr__ (self): try: status = [] if self.accepting and self.addr: status.append ('listening') elif self.connected: status.append ('connected') if self.addr: if type(self.addr) == types.TupleType: status.append ('%s:%d' % self.addr) else: status.append (self.addr) return '<%s %s at %x>' % (self.__class__.__name__, ... | def __repr__ (self): try: status = [self.__class__.__module__+"."+self.__class__.__name__] if self.accepting and self.addr: status.append ('listening') elif self.connected: status.append ('connected') if self.addr: if type(self.addr) == types.TupleType: status.append ('%s:%d' % self.addr) else: status.append (self.addr... | 23,558 |
def __repr__ (self): try: status = [] if self.accepting and self.addr: status.append ('listening') elif self.connected: status.append ('connected') if self.addr: if type(self.addr) == types.TupleType: status.append ('%s:%d' % self.addr) else: status.append (self.addr) return '<%s %s at %x>' % (self.__class__.__name__, ... | def __repr__ (self): try: status = [] if self.accepting and self.addr: status.append ('listening') elif self.connected: status.append ('connected') if self.addr: if type(self.addr) == types.TupleType: status.append ('%s:%d' % self.addr) else: status.append (self.addr) return '<%s at % except: pass | 23,559 |
def _link (self, body, headers, include_dirs, libraries, library_dirs, lang): (src, obj) = self._compile(body, headers, include_dirs, lang) prog = os.path.splitext(os.path.basename(src))[0] self.temp_files.append(prog) # XXX should be prog + exe_ext self.compiler.link_executable([obj], prog, libraries=libraries, lib... | def _link (self, body, headers, include_dirs, libraries, library_dirs, lang): (src, obj) = self._compile(body, headers, include_dirs, lang) prog = os.path.splitext(os.path.basename(src))[0] # XXX should be prog + exe_ext self.compiler.link_executable([obj], prog, libraries=libraries, library_dirs=library_dirs) retur... | 23,560 |
def initcolormap(self): self.colormapinited = 1 self.color0 = None self.fixcolor0 = 0 if self.format in ('rgb', 'jpeg', 'compress'): self.set_rgbmode() gl.RGBcolor(200, 200, 200) # XXX rather light grey gl.clear() return # This only works on an Entry-level Indigo from IRIX 4.0.5 if self.format == 'rgb8' and is_entry_in... | def initcolormap(self): self.colormapinited = 1 self.color0 = None self.fixcolor0 = 0 if self.format in ('rgb', 'jpeg', 'compress'): self.set_rgbmode() gl.RGBcolor(200, 200, 200) # XXX rather light grey gl.clear() return # This only works on an Entry-level Indigo from IRIX 4.0.5 if self.format == 'rgb8' and is_entry_in... | 23,561 |
def _initcmap(self): if self.format in ('mono', 'grey4') and self.mustunpack: convcolor = conv_grey else: convcolor = choose_conversion(self.format) maxbits = gl.getgdesc(GL.GD_BITS_NORM_SNG_CMODE) if maxbits > 11: maxbits = 11 c0bits = self.c0bits c1bits = self.c1bits c2bits = self.c2bits if c0bits+c1bits+c2bits > max... | def _initcmap(self): if self.format in ('mono', 'grey4') and self.mustunpack: convcolor = conv_grey else: convcolor = choose_conversion(self.format) maxbits = gl.getgdesc(GL.GD_BITS_NORM_SNG_CMODE) if maxbits > 11: maxbits = 11 c0bits = self.c0bits c1bits = self.c1bits c2bits = self.c2bits if c0bits+c1bits+c2bits > max... | 23,562 |
def writexml(self, writer, indent="", addindent="", newl=""): _write_data(writer, "<![CDATA[%s]]>" % self.data) | def writexml(self, writer, indent="", addindent="", newl=""): _write_data(writer, "<![CDATA[%s]]>" % self.data) | 23,563 |
def __init__(self, master = None, initialcolor = None, databasefile = None, initfile = None, ignore = None, wantspec = None): self.__master = master self.__initialcolor = initialcolor self.__databasefile = databasefile self.__initfile = initfile or os.path.expanduser('~/.pynche') self.__ignore = ignore self.__pw = None... | def __init__(self, master = None, databasefile = None, initfile = None, ignore = None, wantspec = None): self.__master = master self.__initialcolor = initialcolor self.__databasefile = databasefile self.__initfile = initfile or os.path.expanduser('~/.pynche') self.__ignore = ignore self.__pw = None self.__wantspec = wa... | 23,564 |
def __init__(self, master = None, initialcolor = None, databasefile = None, initfile = None, ignore = None, wantspec = None): self.__master = master self.__initialcolor = initialcolor self.__databasefile = databasefile self.__initfile = initfile or os.path.expanduser('~/.pynche') self.__ignore = ignore self.__pw = None... | def __init__(self, master = None, initialcolor = None, databasefile = None, initfile = None, ignore = None, wantspec = None): self.__master = master self.__databasefile = databasefile self.__initfile = initfile or os.path.expanduser('~/.pynche') self.__ignore = ignore self.__pw = None self.__wantspec = wantspec | 23,565 |
def show(self): if not self.__pw: self.__pw, self.__sb = \ Main.build(master = self.__master, initialcolor = self.__initialcolor, initfile = self.__initfile, ignore = self.__ignore) Main.run(self.__pw, self.__sb) rgbtuple = self.__sb.current_rgb() self.__pw.withdraw() # check to see if the cancel button was pushed if s... | def show(self, color=None): if not self.__master: from Tkinter import Tk self.__master = Tk() if not self.__pw: self.__pw, self.__sb = \ Main.build(master = self.__master, initialcolor = self.__initialcolor, initfile = self.__initfile, ignore = self.__ignore) Main.run(self.__pw, self.__sb) rgbtuple = self.__sb.current_... | 23,566 |
def show(self): if not self.__pw: self.__pw, self.__sb = \ Main.build(master = self.__master, initialcolor = self.__initialcolor, initfile = self.__initfile, ignore = self.__ignore) Main.run(self.__pw, self.__sb) rgbtuple = self.__sb.current_rgb() self.__pw.withdraw() # check to see if the cancel button was pushed if s... | def show(self): if not self.__pw: self.__pw, self.__sb = \ Main.build(master = self.__master, initfile = self.__initfile, ignore = self.__ignore) Main.run(self.__pw, self.__sb) rgbtuple = self.__sb.current_rgb() self.__pw.withdraw() # check to see if the cancel button was pushed if self.__sb.canceled_p(): return None, ... | 23,567 |
def show(self): if not self.__pw: self.__pw, self.__sb = \ Main.build(master = self.__master, initialcolor = self.__initialcolor, initfile = self.__initfile, ignore = self.__ignore) Main.run(self.__pw, self.__sb) rgbtuple = self.__sb.current_rgb() self.__pw.withdraw() # check to see if the cancel button was pushed if s... | def show(self): if not self.__pw: self.__pw, self.__sb = \ Main.build(master = self.__master, initialcolor = self.__initialcolor, initfile = self.__initfile, ignore = self.__ignore) Main.run(self.__pw, self.__sb) rgbtuple = self.__sb.current_rgb() self.__pw.withdraw() # check to see if the cancel button was pushed if s... | 23,568 |
def askcolor(color = None, **options): """Ask for a color""" return apply(Chooser, (), options).show() | def askcolor(color = None, **options): """Ask for a color""" global _chooser if not _chooser: _chooser = apply(Chooser, (), options) return _chooser.show(color) | 23,569 |
def set_usage (self, usage): if usage is None: self.usage = "%prog [options]" elif usage is SUPPRESS_USAGE: self.usage = None elif usage.startswith("usage: "): # for backwards compatibility with Optik 1.3 and earlier self.usage = usage[7:] else: self.usage = usage | def set_usage (self, usage): if usage is None: self.usage = "%prog [options]" elif usage is SUPPRESS_USAGE: self.usage = None elif usage.lower().startswith("usage: "): # for backwards compatibility with Optik 1.3 and earlier self.usage = usage[7:] else: self.usage = usage | 23,570 |
def __init__(self, host, port=NNTP_PORT, user=None, password=None, readermode=None): """Initialize an instance. Arguments: - host: hostname to connect to - port: port to connect to (default the standard NNTP port) - user: username to authenticate with - password: password to use with username - readermode: if true, se... | def __init__(self, host, port=NNTP_PORT, user=None, password=None, readermode=None, usenetrc=True): """Initialize an instance. Arguments: - host: hostname to connect to - port: port to connect to (default the standard NNTP port) - user: username to authenticate with - password: password to use with username - readermo... | 23,571 |
def __init__(self, host, port=NNTP_PORT, user=None, password=None, readermode=None): """Initialize an instance. Arguments: - host: hostname to connect to - port: port to connect to (default the standard NNTP port) - user: username to authenticate with - password: password to use with username - readermode: if true, se... | def __init__(self, host, port=NNTP_PORT, user=None, password=None, readermode=None): """Initialize an instance. Arguments: - host: hostname to connect to - port: port to connect to (default the standard NNTP port) - user: username to authenticate with - password: password to use with username - readermode: if true, se... | 23,572 |
def verisnot(a, b): if a is b: raise TestFailed, "%r is %r" % (a, b) | def verisnot(a, b): if a is b: raise TestFailed, "%r is %r" % (a, b) | 23,573 |
def normalize(p): # Strip unnecessary zero coefficients n = len(p) while p: if p[n-1]: return p[:n] n = n-1 return [] | def normalize(p): # Strip unnecessary zero coefficients n = len(p) while n: if p[n-1]: return p[:n] n = n-1 return [] | 23,574 |
def all_method(self): return "D b" | def all_method(self): return "D b" | 23,575 |
def all_method(self): return "M2 b" | def all_method(self): return "M2 b" | 23,576 |
def all_method(self): return "M2 b" | def all_method(self): return "M2 b" | 23,577 |
def all_method(self): return "M3 b" | def all_method(self): return "M3 b" | 23,578 |
def boo(self): return "C" | def boo(self): return "C" | 23,579 |
def slotspecials(): if verbose: print "Testing __dict__ and __weakref__ in __slots__..." class D(object): __slots__ = ["__dict__"] a = D() verify(hasattr(a, "__dict__")) verify(not hasattr(a, "__weakref__")) a.foo = 42 vereq(a.__dict__, {"foo": 42}) class W(object): __slots__ = ["__weakref__"] a = W() verify(hasattr(... | def slotspecials(): if verbose: print "Testing __dict__ and __weakref__ in __slots__..." class D(object): __slots__ = ["__dict__"] a = D() verify(hasattr(a, "__dict__")) verify(not hasattr(a, "__weakref__")) a.foo = 42 vereq(a.__dict__, {"foo": 42}) class W(object): __slots__ = ["__weakref__"] a = W() verify(hasattr(... | 23,580 |
def mro(cls): L = type.mro(cls) L.reverse() return L | def mro(cls): L = type.mro(cls) L.reverse() return L | 23,581 |
def spam(self): return 42 | defspam(self):return42 | 23,582 |
def __new__(metaclass, name, bases, dict): # XXX Should check that name isn't already a base class name dict["__dynamic__"] = 1 cls = super(autosuper, metaclass).__new__(metaclass, name, bases, dict) # Name mangling for __super removes leading underscores while name[:1] == "_": name = name[1:] if name: name = "_%s__sup... | def __new__(metaclass, name, bases, dict): # XXX Should check that name isn't already a base class nameassert dict.get("__dynamic__", 1) cls = super(autosuper, metaclass).__new__(metaclass, name, bases, dict) # Name mangling for __super removes leading underscores while name[:1] == "_": name = name[1:] if name: name = ... | 23,583 |
def mysetattr(self, name, value): if name == "spam": raise AttributeError return object.__setattr__(self, name, value) | def mysetattr(self, name, value): if name == "spam": raise AttributeError return object.__setattr__(self, name, value) | 23,584 |
def mysetattr(self, name, value): if name == "spam": raise AttributeError return object.__setattr__(self, name, value) | def mysetattr(self, name, value): if name == "spam": raise AttributeError return object.__setattr__(self, name, value) | 23,585 |
def mysetattr(self, name, value): if name == "spam": raise AttributeError return object.__setattr__(self, name, value) | def mysetattr(self, name, value): if name == "spam": raise AttributeError return object.__setattr__(self, name, value) | 23,586 |
def __getitem__(self, i): if 0 <= i < 10: return i raise IndexError | def __getitem__(self, i): if 0 <= i < 10: return i raise IndexError | 23,587 |
def __repr__(self): return "%.*g" % (self.prec, self) | def __repr__(self): return "%.*g" % (self.prec, self) | 23,588 |
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | 23,589 |
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | 23,590 |
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | 23,591 |
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | 23,592 |
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | 23,593 |
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | 23,594 |
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real) | 23,595 |
def split(s, sep=None, maxsplit=-1): """split(s [,sep [,maxsplit]]) -> list of strings Return a list of the words in the string s, using sep as the delimiter string. If maxsplit is given, splits into at most maxsplit words. If sep is not specified, any whitespace string is a separator. (split and splitfields are sy... | def split(s, sep=None, maxsplit=-1): """split(s [,sep [,maxsplit]]) -> list of strings Return a list of the words in the string s, using sep as the delimiter string. If maxsplit is given, splits at no more than maxsplit places (resulting in at most maxsplit+1 words). If sep is not specified, any whitespace string is... | 23,596 |
def inner(): return y | def inner(): return y | 23,597 |
def __init__(self, parent, title = None): | def __init__(self, parent, title = None): | 23,598 |
def buttonbox(self): '''add standard button box. | def buttonbox(self): '''add standard button box. | 23,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.