bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): """) message - a Message instance | 33,900 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,901 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,902 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,903 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,904 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,905 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,906 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,907 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,908 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,909 |
def setPropArrayFromString(self, cl, propString, nodeid=None): ''' takes string of form prop=value,value;prop2=value and returns (error, prop[..]) ''' props = {} errors = [] for prop in string.split(propString, ';'): # extract the property name and value try: propname, value = prop.split('=') except ValueError, message... | def setPropArrayFromString(self, cl, propString, nodeid=None): ''' takes string of form prop=value,value;prop2=value and returns (error, prop[..]) ''' props = {} errors = [] for prop in string.split(propString, ';'): # extract the property name and value try: propname, value = prop.split('=') except ValueError, message... | 33,910 |
def field(self, size = 30): ''' Render a form edit field for the property | def field(self, size = 30): ''' Render a form edit field for the property | 33,911 |
def handle_message(self, message): ''' message - a Message instance | def handle_message(self, message): ''' message - a Message instance | 33,912 |
def __init__(self, instance, db, arguments={}): self.instance = instance self.db = db self.arguments = {} | def __init__(self, instance, db, arguments={}): self.instance = instance self.db = db self.arguments = {} | 33,913 |
def field(self, size=30, default=None): ''' Render a form edit field for the property | def field(self, size=30, default=None): ''' Render a form edit field for the property | 33,914 |
def field(self, size=30, default=None): ''' Render a form edit field for the property | def field(self, size=30, default=None): ''' Render a form edit field for the property | 33,915 |
def field(self, size=30, default=None): ''' Render a form edit field for the property | def field(self, size=30, default=None): ''' Render a form edit field for the property | 33,916 |
def reldate(self, pretty=1): ''' Render the interval between the date and now. | def reldate(self, pretty=1): ''' Render the interval between the date and now. | 33,917 |
def pretty(self, format=_marker): ''' Render the date in a pretty format (eg. month names, spaces). | def pretty(self, format=_marker): ''' Render the date in a pretty format (eg. month names, spaces). | 33,918 |
def clean_sessions(self): """Age sessions, remove when they haven't been used for a week. | def clean_sessions(self): """Age sessions, remove when they haven't been used for a week. | 33,919 |
def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | 33,920 |
def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | 33,921 |
def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | 33,922 |
def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | 33,923 |
def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_display_form, show_customization): | def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_display_form, show_customization): | 33,924 |
def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_display_form, show_customization): | def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_display_form, show_customization): | 33,925 |
def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_display_form, show_customization): | def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_display_form, show_customization): | 33,926 |
def test_removeClass(self): self.init_ml() aid = self.db.a.create(name='apple') bid = self.db.b.create(name='bear', fooz=[aid]) self.db.commit(); self.db.close() | def test_removeClass(self): self.init_ml() aid = self.db.a.create(name='apple') bid = self.db.b.create(name='bear', fooz=[aid]) self.db.commit(); self.db.close() | 33,927 |
def execute(self): """Execute the action specified by this object.""" self.permission() self.handle() | def execute(self): """Execute the action specified by this object.""" self.permission() self.handle() | 33,928 |
def handle(self): ''' Export the specified search query as CSV. ''' # figure the request request = templating.HTMLRequest(self) filterspec = request.filterspec sort = request.sort group = request.group columns = request.columns klass = self.db.getclass(request.classname) | def handle(self): ''' Export the specified search query as CSV. ''' # figure the request request = templating.HTMLRequest(self.client) filterspec = request.filterspec sort = request.sort group = request.group columns = request.columns klass = self.db.getclass(request.classname) | 33,929 |
def handle(self): ''' Export the specified search query as CSV. ''' # figure the request request = templating.HTMLRequest(self) filterspec = request.filterspec sort = request.sort group = request.group columns = request.columns klass = self.db.getclass(request.classname) | def handle(self): ''' Export the specified search query as CSV. ''' # figure the request request = templating.HTMLRequest(self) filterspec = request.filterspec sort = request.sort group = request.group columns = request.columns klass = self.db.getclass(request.classname) | 33,930 |
def handle(self): ''' Export the specified search query as CSV. ''' # figure the request request = templating.HTMLRequest(self) filterspec = request.filterspec sort = request.sort group = request.group columns = request.columns klass = self.db.getclass(request.classname) | def handle(self): ''' Export the specified search query as CSV. ''' # figure the request request = templating.HTMLRequest(self) filterspec = request.filterspec sort = request.sort group = request.group columns = request.columns klass = self.db.getclass(request.classname) | 33,931 |
def do_menu(self, property, size=None, height=None, showid=0, additional=[]): ''' For a Link/Multilink property, display a menu of the available choices | def do_menu(self, property, size=None, height=None, showid=0, additional=[]): ''' For a Link/Multilink property, display a menu of the available choices | 33,932 |
def _opendb(self): '''Open the roundup instance database for a transaction. ''' instance = roundup.instance.open(self.instance_home) request = RequestWrapper(self.REQUEST['RESPONSE']) env = self.REQUEST.environ | def _opendb(self): '''Open the roundup instance database for a transaction. ''' instance = roundup.instance.open(self.instance_home) request = RequestWrapper(self.REQUEST['RESPONSE']) env = self.REQUEST.environ | 33,933 |
def _opendb(self): '''Open the roundup instance database for a transaction. ''' instance = roundup.instance.open(self.instance_home) request = RequestWrapper(self.REQUEST['RESPONSE']) env = self.REQUEST.environ | def _opendb(self): '''Open the roundup instance database for a transaction. ''' instance = roundup.instance.open(self.instance_home) request = RequestWrapper(self.REQUEST['RESPONSE']) env = self.REQUEST.environ | 33,934 |
def handle_Message(self, message): '''Handle an RFC822 Message | def handle_Message(self, message): '''Handle an RFC822 Message | 33,935 |
def main(): # build list of scripts from their implementation modules roundup_scripts = map(scriptname, glob('roundup/scripts/[!_]*.py')) # template munching packagelist = [ 'roundup', 'roundup.cgi', 'roundup.cgi.PageTemplates', 'roundup.cgi.TAL', 'roundup.cgi.ZTUtils', 'roundup.backends', 'roundup.scripts' ] installd... | def main(): # build list of scripts from their implementation modules roundup_scripts = map(scriptname, glob('roundup/scripts/[!_]*.py')) # template munching packagelist = [ 'roundup', 'roundup.cgi', 'roundup.cgi.PageTemplates', 'roundup.cgi.TAL', 'roundup.cgi.ZTUtils', 'roundup.backends', 'roundup.scripts', ] install... | 33,936 |
def exception_message(self): '''Send a message to the admins with information about the latest traceback. ''' subject = '%s: %s'%(self.config.TRACKER_NAME, sys.exc_info()[1]) to = [self.config.ADMIN_EMAIL] content = traceback.format_exc() self.standard_message(to, subject, content) | def exception_message(self): '''Send a message to the admins with information about the latest traceback. ''' subject = '%s: %s'%(self.config.TRACKER_NAME, sys.exc_info()[1]) to = [self.config.ADMIN_EMAIL] content = '\n'.join(traceback.format_exception(*sys.exc_info())) self.standard_message(to, subject, content) | 33,937 |
def do_pop(self, server, user='', password='', apop=0): '''Read a series of messages from the specified POP server. ''' import getpass, poplib, socket try: if not user: user = raw_input(_('User: ')) if not password: password = getpass.getpass() except (KeyboardInterrupt, EOFError): # Ctrl C or D maybe also Ctrl Z under... | def do_pop(self, server, user='', password='', apop=0): '''Read a series of messages from the specified POP server. ''' import getpass, poplib, socket try: if not user: user = raw_input('User: ') if not password: password = getpass.getpass() except (KeyboardInterrupt, EOFError): # Ctrl C or D maybe also Ctrl Z under Wi... | 33,938 |
def compareStrings(self, s2, s1): '''Note the reversal of s2 and s1 - difflib.SequenceMatcher wants the first to be the "original" but in the calls in this file, the second arg is the original. Ho hum. ''' if s1 == s2: return | def compareStrings(self, s2, s1): '''Note the reversal of s2 and s1 - difflib.SequenceMatcher wants the first to be the "original" but in the calls in this file, the second arg is the original. Ho hum. ''' l1=s1.strip().split('\n') l2=[x for x in s2.strip().split('\n') if not x.startswith('Date: ')] if l1 == l2: retu... | 33,939 |
def compareStrings(self, s2, s1): '''Note the reversal of s2 and s1 - difflib.SequenceMatcher wants the first to be the "original" but in the calls in this file, the second arg is the original. Ho hum. ''' if s1 == s2: return | def compareStrings(self, s2, s1): '''Note the reversal of s2 and s1 - difflib.SequenceMatcher wants the first to be the "original" but in the calls in this file, the second arg is the original. Ho hum. ''' if s1 == s2: return | 33,940 |
def test_suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(SchemaTestCase)) return suite | def test_suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(SchemaTestCase)) return suite | 33,941 |
def __str__(self): return ''' | def __str__(self): return ''' | 33,942 |
def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], show_display_form=1, nodeids=None, show_customization=1): self.filterspec = filterspec | 33,943 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,944 |
def editItemAction(self): ''' Perform an edit of an item in the database. | def editItemAction(self): ''' Perform an edit of an item in the database. | 33,945 |
def editItemAction(self): ''' Perform an edit of an item in the database. | def editItemAction(self): ''' Perform an edit of an item in the database. | 33,946 |
def editCSVAction(self): ''' Performs an edit of all of a class' items in one go. | def editCSVAction(self): ''' Performs an edit of all of a class' items in one go. | 33,947 |
def editCSVAction(self): ''' Performs an edit of all of a class' items in one go. | def editCSVAction(self): ''' Performs an edit of all of a class' items in one go. | 33,948 |
def __init__(self, config): self.config = config | def __init__(self, config): self.config = config | 33,949 |
def get_standard_message(self, to, subject, author=None): '''Form a standard email message from Roundup. | def get_standard_message(self, to, subject, author=None): '''Form a standard email message from Roundup. | 33,950 |
def bounce_message(self, bounced_message, to, error, subject='Failed issue tracker submission'): """Bounce a message, attaching the failed submission. | def bounce_message(self, bounced_message, to, error, subject='Failed issue tracker submission'): """Bounce a message, attaching the failed submission. | 33,951 |
def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | 33,952 |
def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | 33,953 |
def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | 33,954 |
def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | def __init__(self, config): smtplib.SMTP.__init__(self, config.MAILHOST) | 33,955 |
def addnode(self, classname, nodeid, node): ''' Add the specified node to its class's db. ''' if __debug__: print >>hyperdb.DEBUG, 'addnode', (self, classname, nodeid, node) # gadfly requires values for all non-multilink columns cl = self.classes[classname] cols, mls = self.determine_columns(cl.properties.items()) | def addnode(self, classname, nodeid, node): ''' Add the specified node to its class's db. ''' if __debug__: print >>hyperdb.DEBUG, 'addnode', (self, classname, nodeid, node) # gadfly requires values for all non-multilink columns cl = self.classes[classname] cols, mls = self.determine_columns(cl.properties.items()) | 33,956 |
def shownode(self, message=None, num_re=re.compile('^\d+$')): ''' display an item ''' cn = self.classname cl = self.db.classes[cn] if self.form.has_key(':multilink'): link = self.form[':multilink'].value designator, linkprop = link.split(':') xtra = ' for <a href="%s">%s</a>' % (designator, designator) else: xtra = '' | def shownode(self, message=None, num_re=re.compile('^\d+$')): ''' display an item ''' cn = self.classname cl = self.db.classes[cn] if self.form.has_key(':multilink'): link = self.form[':multilink'].value designator, linkprop = link.split(':') xtra = ' for <a href="%s">%s</a>' % (designator, designator) else: xtra = '' | 33,957 |
def set_cookie(self, user): """Set up a session cookie for the user. | def set_cookie(self, user): """Set up a session cookie for the user. | 33,958 |
def set_cookie(self, user): """Set up a session cookie for the user. | def set_cookie(self, user): """Set up a session cookie for the user. | 33,959 |
def inner_run_cgi(self): ''' This is the inner part of the CGI handling ''' | def inner_run_cgi(self): ''' This is the inner part of the CGI handling ''' | 33,960 |
def properties(self): ''' Return HTMLProperty for all props ''' l = [] for name, prop in self._props.items(): for klass, htmlklass in propclasses: if isinstance(prop, hyperdb.Multilink): value = [] else: value = None if isinstance(prop, klass): l.append(htmlklass(self._client, '', prop, name, value)) return l | def properties(self): ''' Return HTMLProperty for all of this class' properties. ''' l = [] for name, prop in self._props.items(): for klass, htmlklass in propclasses: if isinstance(prop, hyperdb.Multilink): value = [] else: value = None if isinstance(prop, klass): l.append(htmlklass(self._client, '', prop, name, value... | 33,961 |
def hasPermission(self, role, classname=_marker): ''' Determine if the user has the Role. | def hasPermission(self, role, classname=_marker): ''' Determine if the user has the Role. | 33,962 |
def email(self, escape=1): ''' fudge email ''' if self._value is None: value = '' else: value = str(self._value) value = value.replace('@', ' at ') value = value.replace('.', ' ') if escape: value = cgi.escape(value) return value | def email(self, escape=1): ''' Render the value of the property as an obscured email address ''' if self._value is None: value = '' else: value = str(self._value) value = value.replace('@', ' at ') value = value.replace('.', ' ') if escape: value = cgi.escape(value) return value | 33,963 |
def description(self): ''' Return a description of the request - handle for the page title. ''' s = [self.client.db.config.TRACKER_NAME] if self.classname: if self.client.nodeid: s.append('- %s%s'%(self.classname, self.client.nodeid)) else: s.append('- index of '+self.classname) else: s.append('- home') return ' '.join... | def description(self): ''' Return a description of the request - handle for the page title. ''' s = [self.client.db.config.TRACKER_NAME] if self.classname: if self.client.nodeid: s.append('- %s%s'%(self.classname, self.client.nodeid)) else: if self.template == 'item': s.append('- new %s'%self.classname) elif self.templ... | 33,964 |
def copy_scripts(self): """ Create each script listed in 'self.scripts' """ if not self.package_name: raise Exception("You have to inherit build_scripts_create and" " provide a package name") to_module = string.maketrans('-/', '_.') | def copy_scripts(self): """ Create each script listed in 'self.scripts' """ if not self.package_name: raise Exception("You have to inherit build_scripts_create and" " provide a package name") to_module = string.maketrans('-/', '_.') | 33,965 |
def sendmessage(self, nodeid, msgid): """Send a message to the members of an issue's nosy list. | def sendmessage(self, nodeid, msgid): """Send a message to the members of an issue's nosy list. | 33,966 |
def do_plain(self, property, escape=0): ''' display a String property directly; | def do_plain(self, property, escape=0): ''' display a String property directly; | 33,967 |
def do_plain(self, property, escape=0): ''' display a String property directly; | def do_plain(self, property, escape=0): ''' display a String property directly; | 33,968 |
def do_history(self, direction='descending'): ''' list the history of the item | def do_history(self, direction='descending'): ''' list the history of the item | 33,969 |
def do_history(self, direction='descending'): ''' list the history of the item | def do_history(self, direction='descending'): ''' list the history of the item | 33,970 |
def do_history(self, direction='descending'): ''' list the history of the item | def do_history(self, direction='descending'): ''' list the history of the item | 33,971 |
def __call__(self, m, filter=None, columns=None, sort=None, group=None): if m.group('name'): if m.group('name') in self.props: text = m.group('text') replace = IndexTemplateReplace(self.globals, {}, self.props) return replace.go(m.group('text')) else: return '' if m.group('display'): command = m.group('command') return... | def __call__(self, m, filter=None, columns=None, sort=None, group=None): if m.group('name'): if m.group('name') in self.props: text = m.group('text') replace = IndexTemplateReplace(self.globals, {}, self.props) return replace.go(text) else: return '' if m.group('display'): command = m.group('command') return eval(comma... | 33,972 |
def __call__(self, m, filter=None, columns=None, sort=None, group=None): if m.group('name'): if m.group('name') in self.props: text = m.group('text') replace = IndexTemplateReplace(self.globals, {}, self.props) return replace.go(m.group('text')) else: return '' if m.group('display'): command = m.group('command') return... | def __call__(self, m, filter=None, columns=None, sort=None, group=None): if m.group('name'): if m.group('name') in self.props: text = m.group('text') replace = IndexTemplateReplace(self.globals, {}, self.props) return replace.go(m.group('text')) else: return '' if m.group('display'): command = m.group('command') return... | 33,973 |
def __init__(self, client, templates, classname): self.client = client self.instance = client.instance self.templates = templates self.classname = classname | def __init__(self, client, templates, classname): self.client = client self.instance = client.instance self.templates = templates self.classname = classname | 33,974 |
def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_customization): | def filter_section(self, template, filter, columns, group, all_filters, all_columns, show_customization): | 33,975 |
def __call__(self, m, filter=None, columns=None, sort=None, group=None): if m.group('name'): if self.nodeid and self.cl.get(self.nodeid, m.group('name')): replace = ItemTemplateReplace(self.globals, {}, self.cl, self.nodeid) return replace.go(m.group('text')) else: return '' if m.group('display'): command = m.group('co... | def __call__(self, m, filter=None, columns=None, sort=None, group=None): if m.group('name'): if self.nodeid and self.cl.get(self.nodeid, m.group('name')): replace = ItemTemplateReplace(self.globals, {}, self.cl, self.nodeid) return replace.go(m.group('text')) else: return '' if m.group('display'): command = m.group('co... | 33,976 |
def __init__(self, client, templates, classname): self.client = client self.instance = client.instance self.templates = templates self.classname = classname | def __init__(self, client, templates, classname): self.client = client self.instance = client.instance self.templates = templates self.classname = classname | 33,977 |
def __init__(self, client, templates, classname): self.client = client self.instance = client.instance self.templates = templates self.classname = classname | def __init__(self, client, templates, classname): self.client = client self.instance = client.instance self.templates = templates self.classname = classname | 33,978 |
def __init__(self, client): self.client = client self.db = client.db self.form = client.form self.classname = client.classname self.nodeid = client.nodeid | deftry: self._ = self.gettext = client.gettext self.ngettext = client.ngettext except AttributeError: _translator = templating.translationService self._ = self.gettext = _translator.gettext self.ngettext = _translator.ngettext __init__(self,try: self._ = self.gettext = client.gettext self.ngettext = client.ngettext ex... | 33,979 |
def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | 33,980 |
def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | 33,981 |
def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | 33,982 |
def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | def parse(self, create=0, num_re=re.compile('^\d+$')): """ Item properties and their values are edited with html FORM variables and their values. You can: | 33,983 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,984 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,985 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,986 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,987 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,988 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,989 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,990 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,991 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,992 |
propdef = all_propdef[cn] | propdef = all_propdef[cn] | 33,993 |
def __init__(self, spec='.', offset=0): """Construct a date given a specification and a time zone offset. | def __init__(self, spec='.', offset=0): """Construct a date given a specification and a time zone offset. | 33,994 |
def __str__(self): """Return this date as a string in the yyyy-mm-dd.hh:mm:ss format.""" return time.strftime('%Y-%m-%d.%T', (self.year, self.month, self.day, self.hour, self.minute, self.second, 0, 0, 0)) | def __str__(self): """Return this date as a string in the yyyy-mm-dd.hh:mm:ss format.""" return time.strftime('%Y-%m-%d.%T', (self.year, self.month, self.day, self.hour, self.minute, self.second, 0, 0, 0)) | 33,995 |
def set(self, spec, offset=0, date_re=re.compile(r''' (((?P<y>\d\d\d\d)-)?((?P<m>\d\d)-(?P<d>\d\d))?)? # yyyy-mm-dd (?P<n>\.)? # . (((?P<H>\d?\d):(?P<M>\d\d))?(:(?P<S>\d\d))?)? # hh:mm:ss (?P<o>.+)? # offset ''', re.VERBOSE)): ''' set the da... | def set(self, spec, offset=0, date_re=re.compile(r''' (((?P<y>\d\d\d\d)-)?((?P<m>\d\d)-(?P<d>\d\d))?)? # yyyy-mm-dd (?P<n>\.)? # . (((?P<H>\d?\d):(?P<M>\d\d))?(:(?P<S>\d\d))?)? # hh:mm:ss (?P<o>.+)? # offset ''', re.VERBOSE)): ''' set the da... | 33,996 |
def set(self, spec, offset=0, date_re=re.compile(r''' (((?P<y>\d\d\d\d)-)?((?P<m>\d\d)-(?P<d>\d\d))?)? # yyyy-mm-dd (?P<n>\.)? # . (((?P<H>\d?\d):(?P<M>\d\d))?(:(?P<S>\d\d))?)? # hh:mm:ss (?P<o>.+)? # offset ''', re.VERBOSE)): ''' set the da... | def set(self, spec, offset=0, date_re=re.compile(r''' (((?P<y>\d\d\d\d)-)?((?P<m>\d\d)-(?P<d>\d\d))?)? # yyyy-mm-dd (?P<n>\.)? # . (((?P<H>\d?\d):(?P<M>\d\d))?(:(?P<S>\d\d))?)? # hh:mm:ss (?P<o>.+)? # offset ''', re.VERBOSE)): ''' set the da... | 33,997 |
def help_all(self): print _(''' | def help_all(self): print _(''' | 33,998 |
def help_all(self): print _(''' | def help_all(self): print _(''' | 33,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.