,nl,code 0,"if self._leftover is true,",if self . _leftover : 1,"if instance is not None,",if instance is not None : 2,strip value of the first and last element.,value = value [ 1 : - 1 ] 3,"if not,",else : 4,"if self.verbosity is greater or equal than integer 1,",if self . verbosity >= 1 : 5,"second contains: string 'InternalHigh and ULONG_PTR, third: '_offset_union' and _OFFSET_UNION, forth 'hEvent' and HANDLE. call the function POINTER with argument OVERLAPPED, substitute the result for LPOVERLAPPED.",LPOVERLAPPED = POINTER ( OVERLAPPED ) 6,define the method validate with arguments self and value.,"def validate ( self , value ) :" 7,call the method self.can_read.release.,self . can_read . release ( ) 8,substitute has_header for __contains__.,__contains__ = has_header 9,"called with an argument result of the method self.latest_post_date. if value under the 'ttl' key of the self.feed dictionary is not None,",if self . feed [ 'ttl' ] is not None : 10,define the method render with 2 arguments: self and context.,"def render ( self , context ) :" 11,import module datetime.,import datetime 12,"if size is not empty,",if size : 13,"raise an TypeError exception with an argument string ""Non-integer base36 conversion input."".","raise TypeError ( ""Non-integer base36 conversion input."" )" 14,define the method size with arguments self and name.,"def size ( self , name ) :" 15,"split ip_str into parts by ':', substitute the result for new_ip.",new_ip = ip_str . split ( ':' ) 16,from decimal import Decimal and DecimalException into default name space.,"from decimal import Decimal , DecimalException" 17,"if AttributeError exception is caught,",except AttributeError : 18,from django.core import signing into default name space.,from django . core import signing 19,__Y is a raw string '(?P\d{4})'.,__Y = r'(?P\d{4})' 20,"remove value under key key of self dictionary, if it doesnt exists return default, substitute the result for value.","value = dict . pop ( self , key , default )" 21,"call the function constant_time_compare with 2 arguments: sig and return value of the self.signature method with an argument value, if it evaluates to true,","if constant_time_compare ( sig , self . signature ( value ) ) :" 22,return tempdir.,return tempdir 23,"raise an TemplateSyntaxError exception with an argument string ""'templatetag' statement takes one argument"".","raise TemplateSyntaxError ( ""'templatetag' statement takes one argument"" )" 24,substitute pattern.regex.pattern for p_pattern.,p_pattern = pattern . regex . pattern 25,"if command.verbosity is greater than integer 1,",if command . verbosity > 1 : 26,"if not,",else : 27,"split instructions by ',' character, substitute the result for styles.","styles = instructions . split ( ',' )" 28,if s is an instance of an object Promise.,"if isinstance ( s , Promise ) :" 29,"key for 'grouper' and val converted into a list for 'list', for every key and val in result of the function groupby, called with 2 arguments: obj_list and lambda function with an argument obj and return value as a result of the function, self.resolve_expression called with 2 arguments obj and context. return an empty string,",return '' 30,"if value under the 'outlog' key of options dictionary is true,",if options [ 'outlog' ] : 31,"raise an TemplateSyntaxError exception with an argument string ""Only 'silent' flag is allowed after cycle's name, not '%s'."",","raise TemplateSyntaxError ( ""Only 'silent' flag is allowed after cycle's name, not '%s'."" % args [ - 1 ] )" 32,"'App label of an application to synchronize the state.' as arguments. call the method parser.add_argument with string 'migration_name', nargs set to charcter '?', help containing string,","parser . add_argument ( 'migration_name' , nargs = '?' , help = 'Database state will be brought to the state after that migration.' )" 33,"concatenate package_name, string '.' and module_name, substitute it for full_module_name.",full_module_name = package_name + '.' + module_name 34,"call the function sql_all with 3 arguments: app_config, self.style and connection, substitute the result for statements.","statements = sql_all ( app_config , self . style , connection )" 35,substitute name for handler.name.,handler . name = name 36,return new_value.,return new_value 37,"get the bit attribute of current object, substitute it for current.","current = getattr ( current , bit )" 38,"remove the 'use_natural_primary_keys' key from the options dictionary and substitute it for self.use_natural_foreign_keys,","self . use_natural_foreign_keys = options . pop ( 'use_natural_foreign_keys' , False ) or self . use_natural_keys" 39,do nothing.,pass 40,"if AttributeError exception is caught,",except AttributeError : 41,define the function with_metaclass with 2 arguments meta and unpacked list bases.,"def with_metaclass ( meta , * bases ) :" 42,"call the method commands.update, with an argument dictionary containing entries: app_config_name for name, for every name in return value of the function find_commands, called with an argument path.",commands . update ( { name : app_config . name for name in find_commands ( path ) } ) 43,"define the method attach with 4 arguments: self, filename set to None, content set to None and mimetype set to None.","def attach ( self , filename = None , content = None , mimetype = None ) :" 44,define the function load_command_class with arguments: app_name and name.,"def load_command_class ( app_name , name ) :" 45,"call the function quote with 2 arguments: url and safe as bytes string '!*\'();:@&=+$,/?#[]~', substitute the result for url.","url = quote ( url , safe = b'!*\'();:@&=+$,/?#[]~' )" 46,"for every ldir in dirs,",for ldir in dirs : 47,"_fields_ is a list containing 2 tuples: first tuple contains: string '_offset' and _OFFSET, second contains: string 'Pointer' and PVOID.","_fields_ = [ ( '_offset' , _OFFSET ) , ( 'Pointer' , PVOID ) ]" 48,"call the method self.render, return the result.",return self . render ( ) 49,substitute CheckboxFieldRenderer for renderer.,renderer = CheckboxFieldRenderer 50,"call the function force_text with 3 arguments: field_name, encoding and errors as a string 'replace', substitute the result for field_name.","field_name = force_text ( field_name , encoding , errors = 'replace' )" 51,queryset set to qs and unpacked dictionary kwargs. define the method initial_form_count with an argument self.,def initial_form_count ( self ) : 52,"skip this loop iteration,",continue 53,"define the method __init__ with 3 arguments: self, language and deactivate set to boolean False.","def __init__ ( self , language , deactivate = False ) :" 54,"raise an TemplateSyntaxError exception with an argument string ""Invalid arguments provided to simple_tag"".","raise TemplateSyntaxError ( ""Invalid arguments provided to simple_tag"" )" 55,substitute val for the value under the cache_key key of the _format_cache dictionary.,_format_cache [ cache_key ] = val 56,from django.utils.encoding import python_2_unicode_compatible into default name space.,from django . utils . encoding import python_2_unicode_compatible 57,substitute URLInput for widget.,widget = URLInput 58,define the method __init__ with 2 arguments: self and data set to None.,"def __init__ ( self , data = None ) :" 59,signal is a string 'signals',signals = 'signals' 60,"convert ret to a boolean, return it.",return bool ( ret ) 61,from django.core.exceptions import ImproperlyConfigured into default name space.,from django . core . exceptions import ImproperlyConfigured 62,"foreground is a dictionary created with elements: x appended to a string '3' for value under the key x of color_names dictionary,","foreground = dict ( ( color_names [ x ] , '3%s' % x ) for x in range ( 8 ) )" 63,"return a string """", where '%s' are replaced with self.object._meta.app_label,","return """" % ( self . object . _meta . app_label , self . object . _meta . object_name , self . object . pk )" 64,"call the method parser.add_argument with 6 arguments: string '--extension', string '-e', dest set to string 'extensions',","parser . add_argument ( '--extension' , '-e' , dest = 'extensions' , action = 'append' , default = [ 'py' ] , help = 'The file extension(s) to render (default: ""py""). ' 'Separate multiple extensions with commas, or use ' '-e multiple times.' )" 65,decorator function register.filter with an argument is_safe set to boolean False.,@ register . filter ( is_safe = False ) 66,"if response.streaming is True,",if response . streaming : 67,"call the function force_text with an argument text, split by it word_split_re, substitute it for words.",words = word_split_re . split ( force_text ( text ) ) 68,"""%r is not a valid date"" formated with date and third element of the result of the function sys.exc_info. define the function parse_http_date_safe an argument date.",def parse_http_date_safe ( date ) : 69,from xml.sax import handler into default name space.,from xml . sax import handler 70,"and RemovedInDjango19Warning. get the value under the ' use_natural_foreign_keys' key of the options dictionary, substitute the result for use_natural_foreign_keys.",use_natural_foreign_keys = options . get ( 'use_natural_foreign_keys' ) or use_natural_keys 71,return an instance of a class RegexURLResolver created with arguments: raw string '^/' and a list containing an element ns_resolver.,"return RegexURLResolver ( r'^/' , [ ns_resolver ] )" 72,"call the function timedelta with an argument integer 0, return the result.",return timedelta ( 0 ) 73,call the method self.loaddata with an argument fixture_labels.,self . loaddata ( fixture_labels ) 74,"define the method __setitem__ with 3 arguments: self, key and value.","def __setitem__ ( self , key , value ) :" 75,do nothing.,pass 76,"if UnicodeDecodeError exception is caught,",except UnicodeDecodeError : 77,"call the method opts.model, substitute the result for self.instance.",self . instance = opts . model ( ) 78,"substitute its __name__ field for function name, if it doesnt exists substitute func.__name__ for function_name. call the function generic_tag_compiler, params set to params, varargs set to varargs, varkw set to varkw, defaults set to defaults,","compile_func = partial ( generic_tag_compiler , params = params , varargs = varargs , varkw = varkw , defaults = defaults , name = function_name , takes_context = takes_context , node_class = SimpleNode )" 79,"raise CommandError with an argument string 'Unknown app in excludes: %s', where '%s' is replaced with exclude.",raise CommandError ( 'Unknown app in excludes: %s' % exclude ) 80,"if data is true, substitute it for self.data, if not self.data is an empty dictionary.",self . data = data or { } 81,from __future__ import unicode_literals into default name space.,from __future__ import unicode_literals 82,"if form.cleaned_data is true and value under the field key of form.cleaned_data dictionary is not None,",if ( form . cleaned_data and form . cleaned_data [ field ] is not None and form . cleaned_data [ unique_for ] is not None ) : 83,"call the method self.make_key with key and version set to version as arguments, substitute it for key.","key = self . make_key ( key , version = version )" 84,primary_keys is an empty list.,primary_keys = [ ] 85,call the method self._populate.,self . _populate ( ) 86,"called with an argument commit, return the result. save.alters_data is boolean True.",save . alters_data = True 87,"if value is not contained in result,",if value is not result : 88,"if command.use_argparse is true,",if command . use_argparse : 89,and third element of the function sys.exc_info result. return attr.,return attr 90,"if num is greater than self._max_entries,",if num > self . _max_entries : 91,"called with an argument value, return the result. call the function allow_lazy with 2 arguments: strip_entities, six.text_type, substitute the result for strip_entities.","strip_entities = allow_lazy ( strip_entities , six . text_type )" 92,"call the method self.strptime with arguments value and format, return the result.","return self . strptime ( value , format )" 93,"dest as a string 'use_default_ignore_patterns', default set to boolean True, and help as a string ""Don't ignore the common glob-style patterns 'CVS', '.*', '*~' and '*.pyc'."". call the method parser.add_argument with 5 arguments: string '--no-wrap', action as a string 'store_true', dest as a string 'no_wrap',","parser . add_argument ( '--no-wrap' , action = 'store_true' , dest = 'no_wrap' , default = False , help = ""Don't break long message lines into several lines."" )" 94,from django.core.management.sql import sql_delete into default name space.,from django . core . management . sql import sql_delete 95,call the method self._deleted_form_indexes.append with an argument i.,self . _deleted_form_indexes . append ( i ) 96,"if last element of args is not equal to a string ""silent"",","if args [ - 1 ] != ""silent"" :" 97,self._unget_history is an empty list.,self . _unget_history = [ ] 98,"otherwise if file_name is not an instance of six.string_types and call to the function is_iterable with an argument file_name,","elif not isinstance ( file_name , six . string_types ) and is_iterable ( file_name ) :" 99,"form is an instance of ManagementForm class, created with 3 arguments: auto_id as self.auto_id, prefix as self.prefix,","form = ManagementForm ( auto_id = self . auto_id , prefix = self . prefix , initial = { TOTAL_FORM_COUNT : self . total_form_count ( ) , INITIAL_FORM_COUNT : self . initial_form_count ( ) , MIN_NUM_FORM_COUNT : self . min_num , MAX_NUM_FORM_COUNT : self . max_num } )" 100,"if receiver is an instance of types.FunctionType type,","if isinstance ( receiver , types . FunctionType ) :" 101,define the method __text_cast with an argument self.,def __text_cast ( self ) : 102,"if not,",else : 103,call the delete method with key and version set to version as arguments.,"self . delete ( key , version = version )" 104,from __future__ import unicode_literals into default name space.,from __future__ import unicode_literals 105,"define the function urlizetrunc with 3 arguments value, limit and autoescape set to None.","def urlizetrunc ( value , limit , autoescape = None ) :" 106,return boolean False.,return False 107,"if self.can_delete is true,",if self . can_delete : 108,"call the method parser.parse with an argument tuple with an element string 'else' and end_tag, substitute the result for nodelist_true.","nodelist_loop = parser . parse ( ( 'else' , end_tag ) )" 109,from django.utils.safestring import mark_safe into default name space.,from django . utils . safestring import mark_safe 110,define the function stringformat with 2 arguments value and arg.,"def stringformat ( value , arg ) :" 111,"get the value under the 'filename' key of the params dictionary, if the key exists substitute it for guessed_filename,",guessed_filename = params . get ( 'filename' ) or used_name 112,return self.text.,return self . text 113,import module os.,import os 114,"call the function lazy_number with 5 arguments: ungettext, six.text_type, singular set to singular, plural set to plural,","return lazy_number ( ungettext , six . text_type , singular = singular , plural = plural , number = number )" 115,open_tags is an empty list.,open_tags = [ ] 116,"if name is None,",if name is None : 117,"convert elements of defaultdict to list, substitute it for self.blocks.",self . blocks = defaultdict ( list ) 118,return None.,return None 119,"clean is a lambda function with self and x as arguments, return value is length of x.","clean = lambda self , x : len ( x )" 120,call the method apps.get_model with 2 arguments: string 'auth' and string 'Permission'.,"apps . get_model ( 'auth' , 'Permission' )" 121,"template_with_clear is a string '%(clear)s '.","template_with_clear = '%(clear)s '" 122,"define the method invalid_block_tag with 4 arguments: self, token, command and parse_until as None.","def invalid_block_tag ( self , token , command , parse_until = None ) :" 123,"if ImportError exception is caught,",except ImportError : 124,"called with an argument this_value_expr, result of the method parser.compile_filter called with an argument max_value_expr, return value of the method parser.compile_filter called with an argument max_width and asvar as asvar. register.tag decorator function with an argument 'with',",@ register . tag ( 'with' ) 125,define the function pretty_name with an argument name.,def pretty_name ( name ) : 126,"while length of line is grater than max_width,",while len ( line ) > max_width : 127,do nothing.,pass 128,"substitute data for data_value if data is not None, otherwise data_value is an empty list.",data_value = data if data is not None else '' 129,"_ with an argument string ""Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."", and string 'invalid'. call the re.compile function with an argument raw string '^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$',",ipv4_re = re . compile ( r'^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$' ) 130,set response to None.,response = None 131,"call the function _get_foreign_key with 3 arguments: parent_model, model and fk_name=fk_name, substitute the result for fk.","fk = _get_foreign_key ( parent_model , model , fk_name = fk_name )" 132,call the method unlink on self with self.name as the argument.,self . unlink ( self . name ) 133,"call the method stream.read with an argument max_header_size, substitute the result for chunk.",chunk = stream . read ( max_header_size ) 134,"for every label in app_labels,",for label in app_labels : 135,call the method fixture.close.,fixture . close ( ) 136,"if lengths of val1 and val2 are not equal,",if len ( val1 ) != len ( val2 ) : 137,"if not,",else : 138,"join elements of output into a string, separated with newline character,",return mark_safe ( '\n' . join ( output ) ) 139,default_validators is an list containing validators.validate_ipv4_address.,default_validators = [ validators . validate_ipv4_address ] 140,"pad the rest of the field with bytes string '=', use the result as an argument for the call to the method base64.urlsafe_b64decode, return the result. if LookupError or BinasciiError, renamed to e, exceptions are caught.","except ( LookupError , BinasciiError ) as e :" 141,from functools import wraps into default name space.,from functools import wraps 142,substitute self.urlconf_name for self.urlconf_module.,self . _urlconf_module = self . urlconf_name 143,do nothing.,pass 144,decrement remaining by length of emitting.,remaining -= len ( emitting ) 145,memo is an empty dictionary.,memo = { } 146,"get the value under the 'indent' key of the options dictionary, substitute the result for indent.",indent = options . get ( 'indent' ) 147,define the method __init__ with arguments self and regex.,"def __init__ ( self , regex ) :" 148,help is an empty string.,help = '' 149,"divide self.data.day by 10, substitute reminder of the result for last.",last = self . data . day % 10 150,"for every location in format_locations,",for location in format_locations : 151,"raise an ValueError exception with an argument string ""Unable to convert %r"" formated with value.","raise ValueError ( ""Unable to convert %r"" % value )" 152,define the method recipients with argument self.,def recipients ( self ) : 153,"call the function six.reraise with 3 arguments: UnreadablePostError, UnreadablePostError instantiated with unpacked list e.args,","six . reraise ( UnreadablePostError , UnreadablePostError ( * e . args ) , sys . exc_info ( ) [ 2 ] )" 154,"for every fname in filelist,",for fname in filelist : 155,"get the LANG_INFO dictionary value under the generic_lang_code key, return the result.",return LANG_INFO [ generic_lang_code ] 156,"return an instance of metaclass class, created with 3 arguments: string 'temporary_class', None and an empty dictionary.","return metaclass ( 'temporary_class' , None , { } )" 157,"for every k and v in items of dictionary kwargs, respectively,","for ( k , v ) in kwargs . items ( ) :" 158,"if value under 'plain' key of the options dictionary is true,",if options [ 'plain' ] : 159,define the funtion get_internal_wsgi_application.,def get_internal_wsgi_application ( ) : 160,"for every lineno and line is enumerated result of the method content.splitlines, called with an argument boolean True,","for lineno , line in enumerate ( content . splitlines ( True ) ) :" 161,define the function contains with 2 arguments source and inst.,"def contains ( source , inst ) :" 162,and a result of the method __repr__ called from instance of base class of the MultiValueDict class. define the method __getitem__ with 2 arguments: self and key.,"def __getitem__ ( self , key ) :" 163,"if pathext is None,",if pathext is None : 164,"covert to lowercase language elements from (p+1)-th index to the end, append it to the previous result, return it. if not,",else : 165,__all__ is a tuple containing 2 initial elements: strigs 'WSGIServer' and 'WSGIRequestHandler'.,"__all__ = ( 'WSGIServer' , 'WSGIRequestHandler' )" 166,"if Exception exception is caught,",except Exception : 167,call the method extend with an argument error_list on the return value of the method error_dict.setdefault called with 2 arguments: NON_FIELD_ERRORS and an empty list.,"error_dict . setdefault ( NON_FIELD_ERRORS , [ ] ) . extend ( self . error_list )" 168,"open file old_file_name in read bytes mode, with file descriptor as f,","with open ( old_file_name , 'rb' ) as old_file :" 169,"dest as a string 'no_obsolete', default as boolean False and help as a string ""Remove obsolete message strings."". call the method parser.add_argument with 5 arguments: string '--keep-pot', action as a string 'store_true',","parser . add_argument ( '--keep-pot' , action = 'store_true' , dest = 'keep_pot' , default = False , help = ""Keep .pot file after making messages. Useful when debugging."" )" 170,"try,",try : 171,"append idstring to the '.' character, substitute it for idstring.",idstring = '.' + idstring 172,"call the method self.filter with 3 arguments: name, func and unpacked dictionary flags, return the result.","return self . filter ( name , func , ** flags )" 173,"if len_values is smaller than integer 1,",if len_values < 1 : 174,do nothing.,pass 175,position the file pointer at the start of the self.file file.,self . file . seek ( 0 ) 176,"if link is not None,",if link is not None : 177,"if StopUpload, renamed to e, exception is caught,",except StopUpload as e : 178,"self.parse_name, assign the result to _, ser_fmt and cmp_fmt, respectively. get the value under the cmp_fmt key of the self.compression_formats dictionary, assign it to open_method and mode.","open_method , mode = self . compression_formats [ cmp_fmt ]" 179,"if not,",else : 180,from django.forms import Form into default name space.,from django . forms import Form 181,if first element of text is contained in 'xX'.,if text [ 0 ] in 'xX' : 182,outer_html is a string '{content}'.,outer_html = '{content}' 183,define the method _get_size_from_underlying_file with argument self.,def _get_size_from_underlying_file ( self ) : 184,from django.utils.six.moves.urllib.parse import urlparse into default name space.,from django . utils . six . moves . urllib . parse import urlparse 185,substitute stream for self._stream.,self . _stream = stream 186,"instantiate class Header with 3 arguments: value, string 'utf-8', maxlinelen set to sys.maxsize, call the encode method on it,","value = str ( Header ( value , 'utf-8' , maxlinelen = sys . maxsize ) . encode ( ) )" 187,"call the method parser.expression with an argument bp, substitute it for self.seconds.",self . second = parser . expression ( bp ) 188,"call the method match.group with an arugument name, substitute the result for toktext.",toktext = match . group ( name ) 189,"'determine whether string is singular or plural.', where '%s' is replaced with number. if not,",else : 190,"if not,",else : 191,"call the __init__ method from the base class of the JsonResponse class, called with arguments: content set to data,","super ( JsonResponse , self ) . __init__ ( content = data , ** kwargs )" 192,substitute arg converted into an integer for length.,length = int ( arg ) 193,"call the method self.configure_logger with 3 arguments: name, value under name key of loggers dictionary and boolean True.","self . configure_logger ( name , loggers [ name ] , True )" 194,"if start is greater than upto,",if start > upto : 195,define compile_messages method with self class instance and locations as a arguments.,"def compile_messages ( self , locations ) :" 196,add app_config to excluded_apps set.,excluded_apps . add ( app_config ) 197,"call the method self.represent_scalar with 2 arguments: string 'tag:yaml.org,2002:str' and data converted into a string, return the result.","return self . represent_scalar ( 'tag:yaml.org,2002:str' , str ( data ) )" 198,known_models is an empty list.,known_models = [ ] 199,"with '%s' substituted for name_str, as argument. run_syncdb is boolean False.",run_syncdb = False 200,derive the class PyLibMCCache from BaseMemcachedCache base class.,class PyLibMCCache ( BaseMemcachedCache ) : 201,import module re.,import re 202,"with all occurrences of '%s' replaced with app_name and model._meta.object_name, respectively. try,",try : 203,"substitute the results in a list for T. join elements of T in a bytes string, append first r elements of result of the call to the function F with an argument l to it,",return b'' . join ( T ) + F ( l ) [ : r ] 204,"called with an argument lang_code is true, return lang_code.",return lang_code 205,"otherwise if level converted into a string equals level,",elif str ( level ) == level : 206,self._raw_ipv6 is boolean False.,self . _raw_ipv6 = False 207,"default_validators is a list with an element, return value of the validators.URLValidator method.",default_validators = [ validators . URLValidator ( ) ] 208,"if value under the 'unique_id' key of the item dictionary is not None,",if item [ 'unique_id' ] is not None : 209,"call the method formats.time_format with 2 arguments: value and arg, return the result.","return formats . time_format ( value , arg )" 210,import module warnings.,import warnings 211,derive the class ReferenceLocalTimezone from the tzinfo base class.,class ReferenceLocalTimezone ( tzinfo ) : 212,"call the method self.clean with value as argument, substitute the result for cleaned.",cleaned = self . clean ( value ) 213,from django.utils import six into default name space.,from django . utils import six 214,"color_names is a tuple with 8 elements: strings 'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan' and 'white'.","color_names = ( 'black' , 'red' , 'green' , 'yellow' , 'blue' , 'magenta' , 'cyan' , 'white' )" 215,"if language_code is not contained in self._regex_dict,",if language_code not in self . _regex_dict : 216,if the key doesnt exists substitute boolean False for self.ignore. define the method _make_parser with an argument self.,def _make_parser ( self ) : 217,from django.core.exceptions import ValidationError into default name space.,from django . core . exceptions import ValidationError 218,return instance.,return instance 219,"if CONTEXT_SEPARATOR is contained in result,",if CONTEXT_SEPARATOR in result : 220,substitute object for Iterator.,Iterator = object 221,"if indent is true,",if indent : 222,define the method Z with an argument self.,def Z ( self ) : 223,substitute current_app for self.current_app.,self . current_app = current_app 224,substitute second element of args for name.,name = args [ 1 ] 225,html_class_attr is an empty string.,html_class_attr = '' 226,"and lambda function with 2 arguments: self and other, resulting boolean False if self is lesser than other or self is equal to other, tuple with 2 elements: string '__le__', and lambda function with 2 arguments: self and other, resulting boolean True if self is lesser than other or self is equal to other, tuple with 2 elements: string '__ge__', and lambda function with 2 arguments: self and other, resulting boolean False if self is lesser than other, for '__lt__', list with 3 tuples: tuple with 2 elements: string '__ge__', and lambda function with 2 arguments: self and other, resulting boolean False if self is lesser than or equal to other, or self is equal to other, tuple with 2 elements: string '__lt__', and lambda function with 2 arguments: self and other, resulting boolean True if self is lesser than or equal to other, or self is not equal to other, tuple with 2 elements: string '__gt__', and lambda function with 2 arguments: self and other, resulting boolean False if self is lesser than or equal to other, for '__le__', list with 3 tuples: tuple with 2 elements: string '__lt__', and lambda function with 2 arguments: self and other, resulting boolean False if self is greater than other or self is equal to other, tuple with 2 elements: string '__ge__', and lambda function with 2 arguments: self and other, resulting boolean True if self is greater than other or self is equal to other, tuple with 2 elements: string '__le__', and lambda function with 2 arguments: self and other, resulting boolean False if self is greater than other, for '__gt__', and list with 3 tuples: tuple with 2 elements: string '__le__', and lambda function with 2 arguments: self and other, resulting boolean True if self is not greater than or is not equal to other, or self is equal to other, tuple with 2 elements: string '__gt__', and lambda function with 2 arguments: self and other, resulting boolean True if self is greater than or not equal to other, or self is not equal to other, tuple with 2 elements: string '__lt__', and lambda function with 2 arguments: self and other, resulting boolean False if self is greater than or equal to other, for '__ge__', convert cls to a dictionary, convert the result into a set and convert convert into a set, roots is a set of differences of the two previous sets.",roots = set ( dir ( cls ) ) & set ( convert ) 227,from module __future__ import unicode_literals to default name space.,from __future__ import unicode_literals 228,import module sys.,import sys 229,define the function static with an argument request.,def static ( request ) : 230,from django.utils import six into default name space.,from django . utils import six 231,derive the class DummyCache from the base class BaseCache.,class DummyCache ( BaseCache ) : 232,"if attribute 'winerror' of object e is not equal to integer 32 and if 'errno' attribute is not equal to integer 13,","if getattr ( e , 'winerror' , 0 ) != 32 and getattr ( e , 'errno' , 0 ) != 13 :" 233,from django.conf import settings into default name space.,from django . conf import settings 234,want_unicode is boolean True.,want_unicode = True 235,"call the method self.copy_plural_forms with arguments: msgs and locale, substitute it for msgs.","msgs = self . copy_plural_forms ( msgs , locale )" 236,"call the function getattr with request, string 'LANGUAGE_CODE' and function get_language as arguments,","cache_key += '.%s' % getattr ( request , 'LANGUAGE_CODE' , get_language ( ) )" 237,"convert timeout into an integer, return it.",return int ( timeout ) 238,"dest set to string 'load_initial_data', default set to boolean True, and help as a string 'Tells Django not to load any initial data after database synchronization.' call the method parser.add_argument with 3 arguments: string '--database', default set to DEFAULT_DB_ALIAS,","parser . add_argument ( '--database' , default = DEFAULT_DB_ALIAS , help = 'Nominates a database to synchronize. Defaults to the ""default"" database.' )" 239,self._fname is None.,self . _fname = None 240,"with new_class.__name__, '%(opt)s' is replaced with opt and '%(value)s' is replaced with value. raise an TypeError exception with an argument msg.",raise TypeError ( msg ) 241,"substitute the result for value under the 'To' key of msg dictionary. if self.cc is true,",if self . cc : 242,"for every k and v in return value of the ret.items function,","for k , v in ret . items ( ) :" 243,"call the function mark_safe with an argument, elements of bits joined into a string, return the result.",return mark_safe ( '' . join ( bits ) ) 244,call the method DjangoSafeDumper.add_representer with arguments decimal.Decimal and DjangoSafeDumper.represent_decimal.,"DjangoSafeDumper . add_representer ( decimal . Decimal , DjangoSafeDumper . represent_decimal )" 245,"slice the rawdata from i-th to the j-th element, replace with it '%r' in the string ""bad end tag: %r"", use it to call the method self.error.","self . error ( ""bad end tag: %r"" % ( rawdata [ i : j ] , ) )" 246,"define the method __exit__ with 4 arguments: self, exc_type, exc_value and traceback.","def __exit__ ( self , exc_type , exc_value , traceback ) :" 247,"for every k and v in return value of the extra_params.items method, join all results into a string separated by a string ', ', substitute it for field_desc. append string ')' to field_desc.",field_desc += ')' 248,"ctx is an hashlib object, for calculating hash function with md5 algorithm.",ctx = hashlib . md5 ( ) 249,"as long as current_chunk is not an empty string,",while current_chunk != b'' : 250,"if i is equal to integer 0, value under the 'first' key of the loop_dict dictionary is boolean True, otherwise it is False.",loop_dict [ 'first' ] = ( i == 0 ) 251,"method, substitute the result for file_name. get the value under the 'content-type' of the meta_data dictionary, if it exists assign it to content_type, content_type_extra,","content_type , content_type_extra = meta_data . get ( 'content-type' , ( '' , { } ) )" 252,"define the method pop with 3 arguments: self, k and unpacked list args.","def pop ( self , k , * args ) :" 253,"called with with an argument lambda function which returns result of the force_text function called with an argument text. define the method add_truncation_text with 3 arguments: self, text and truncate set to None.","def add_truncation_text ( self , text , truncate = None ) :" 254,"default set to DEFAULT_DB_ALIAS, help containing string 'Nominates a database to synchronize. Defaults to the ""default"" database.' as arguments. call the method parser.add_argument with string '--fake', action containing string 'store_true', dest set to string 'fake',","parser . add_argument ( '--fake' , action = 'store_true' , dest = 'fake' , default = False , help = 'Mark migrations as run without actually running them' )" 255,chars is a string 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)'.,chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)' 256,substitute length of digittuple for digits.,digits = len ( digittuple ) 257,"__version__ is a string ""0.1"".","__version__ = ""0.1""" 258,substitute max_expr for self.max_expr.,self . max_expr = max_expr 259,derive the class DeserializationError from the Exception base class.,class DeserializationError ( Exception ) : 260,"if autoescape is true,",if autoescape : 261,"define function force_bytes with s, encoding set to 'utf-8', strings_only set to False and errors set to 'strict' as arguments.","def force_bytes ( s , encoding = 'utf-8' , strings_only = False , errors = 'strict' ) :" 262,"if VariableDoesNotExist exception is caught,",except VariableDoesNotExist : 263,"call the method re.compile with 2 arguments: raw string """"""^(?: (?P (?P\d{1,3}(?:\.\d{1,3}){3}) |""""""","naiveip_re = re . compile ( r""""""^(?: (?P (?P\d{1,3}(?:\.\d{1,3}){3}) | # IPv4 address (?P\[[a-fA-F0-9:]+\]) | # IPv6 address (?P[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*) # FQDN ):)?(?P\d+)$"""""" , re . X )" 264,"get the value under the self.name key of the self.form.initial dictionary, if it exists, substitute it for data,","data = self . form . initial . get ( self . name , self . field . initial )" 265,call the function signals.request_finished.connect with argument cache.close.,signals . request_finished . connect ( cache . close ) 266,return None.,return None 267,return iterator object based on the self.file collection object.,return iter ( self . file ) 268,substitute settings.MEDIA_URL for prefix.,prefix = settings . MEDIA_URL 269,"join tmpdir and sting 'symlink' into a file path name, substitute it for symlink_path.","symlink_path = os . path . join ( tmpdir , 'symlink' )" 270,define the method render with 2 arguments: self and context.,"def render ( self , context ) :" 271,"get the value under the 'use_natural_primary_keys' key of the options dictionary, substitute the result for use_natural_primary_keys.",use_natural_primary_keys = options . get ( 'use_natural_primary_keys' ) 272,define the method inner with 2 arguments: self and unpacked list args.,"def inner ( self , * args ) :" 273,"if '::' is not contained in ip_str and number of occurrences of ':' in ip_str is not equal to integer 7,",if '::' not in ip_str and ip_str . count ( ':' ) != 7 : 274,"call the method parser.add_argument with 4 arguments: string 'args', metavar set to string 'app_label', nargs set to character'*',","parser . add_argument ( 'args' , metavar = 'app_label' , nargs = '*' , help = 'Specify the app label(s) to create migrations for.' )" 275,"if django_po file path exists,",if os . path . exists ( django_po ) : 276,"call the function datetime.now, substitute the result to now.",now = datetime . now ( ) 277,"called with an argument kw, only if v is not None, substitute the result for kw. substitute tzinfo for value under the 'tzinfo' key of the kw dictionary.",kw [ 'tzinfo' ] = tzinfo 278,"raise an ValidationError with 2 arguments: dictionary self.error_messages value under the key 'list',","raise ValidationError ( self . error_messages [ 'list' ] , code = 'list' )" 279,derive the class AdminEmailHandler from logging.Handler base class.,class AdminEmailHandler ( logging . Handler ) : 280,"call the function select_template with 2 arguments: template_name, dirs, substitute the result for t.","t = select_template ( template_name , dirs )" 281,"if value is contained in self.empty_values and self.required is true,",if value in self . empty_values and self . required : 282,"if TypeError exception is caught,",except TypeError : 283,from io import BytesIO into default name space.,from io import BytesIO 284,"define lambda function that returns self.file.tell field, use it as an argument for property function, put the result in tell.",tell = property ( lambda self : self . file . tell ) 285,skip this loop iteration.,continue 286,call the method parser.delete_first_token.,parser . delete_first_token ( ) 287,"'EmailField', 'FileField', 'ImageField', 'URLField', 'BooleanField', 'NullBooleanField', 'ChoiceField', 'MultipleChoiceField', 'ComboField', 'MultiValueField', 'FloatField', 'DecimalField', 'SplitDateTimeField', 'IPAddressField', 'GenericIPAddressField', 'FilePathField', 'SlugField', 'TypedChoiceField', 'TypedMultipleChoiceField'. derive the class Field from the base class object.",class Field ( object ) : 288,import fcntl.,import fcntl 289,"if can_fail is true,",if can_fail : 290,"if template_source_loaders is None,",if template_source_loaders is None : 291,substitute pattern._callback for callback.,callback = pattern . _callback 292,"serialize set to boolean False, substitute the return value for db_name. call the method call_command with 3 arguments, string 'loaddata', unpacked list fixture_labels and unpacked dictionary containing 1 element: verbosity for 'verbosity'.","call_command ( 'loaddata' , * fixture_labels , ** { 'verbosity' : verbosity } )" 293,"if value is None,",if value is None : 294,"convert value to an integer, return it.",return int ( value ) 295,"otherwise if '=' is contained in part,",elif '=' in part : 296,"compare_to is an list with elements generated by calling the var.resolve method with 2 arguments: context and boolean True,","compare_to = [ var . resolve ( context , True ) for var in self . _varlist ]" 297,define the method to_python with arguments self and value.,"def to_python ( self , value ) :" 298,"return the result. otherwise if value is an instance of decimal.Decimal, float or six.integer_types,","elif isinstance ( value , ( decimal . Decimal , float ) + six . integer_types ) :" 299,"contextlib.contextmanager decorator,",@ contextlib . contextmanager 300,"if event.path ends with string '.mo',",if event . path . endswith ( '.mo' ) : 301,"if node.must_be_first is true and nodelist is true,",if node . must_be_first and nodelist : 302,return boolean False.,return False 303,and substitute the result for self.prefix. substitute auto_id for self.auto_id.,self . auto_id = auto_id 304,define the method rss_attributes with an argument self.,def rss_attributes ( self ) : 305,"call the function ungettext_lazy with 3 arguments: string 'Ensure this value has at most %(limit_value)d character (it has %(show_value)d),","message = ungettext_lazy ( 'Ensure this value has at most %(limit_value)d character (it has %(show_value)d).' , 'Ensure this value has at most %(limit_value)d characters (it has %(show_value)d).' , 'limit_value' )" 306,"if PY3 field of module six is boolean True,",if six . PY3 : 307,"for every k and v in result of the function six.iteritems,called with an argument self,","return '{%s}' % ', ' . join ( '%r: %r' % ( k , v ) for k , v in six . iteritems ( self ) )" 308,do nothing.,pass 309,"define the function b64_hmac with arguments salt, value and key.","def base64_hmac ( salt , value , key ) :" 310,delete _active.value.,del _active . value 311,"for every basedir in basedirs,",for basedir in basedirs : 312,"substitute the result for value under the field key of the self._errors dictionary. if not,",else : 313,substitute result of the self.path function with argument name for full_path.,full_path = self . path ( name ) 314,"if self.form.is_bound is false,",if not self . form . is_bound : 315,delete value under the key key of dictionary at last element of self.dicts.,del self . dicts [ - 1 ] [ key ] 316,call the method self.reader_leaves.,self . reader_leaves ( ) 317,"call the re.compile function with 2 arguments: raw string ""^(?:[a-z0-9\.\-]*)://(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+"",","regex = re . compile ( r'^(?:[a-z0-9\.\-]*)://' r'(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+(?:[A-Z]{2,6}\.?|[A-Z0-9-]{2,}(?= self . initial_form_count ( ) and i >= self . min_num : 352,"get the integer representation of the first element of bs, return it.",return ord ( bs [ 0 ] ) 353,"call the function is_ignored, with arguments: file_path and self.ignore_patterns, if it evaluates to true,","if is_ignored ( file_path , self . ignore_patterns ) :" 354,"if app_config.models_module is None or app_config is contained in excluded_apps,",if app_config . models_module is None or app_config in excluded_apps : 355,return code.,return code 356,chunks is a tuple containing 6 initial tuples:,"chunks = ( ( 60 * 60 * 24 * 365 , ungettext_lazy ( '%d year' , '%d years' ) ) , ( 60 * 60 * 24 * 30 , ungettext_lazy ( '%d month' , '%d months' ) ) , ( 60 * 60 * 24 * 7 , ungettext_lazy ( '%d week' , '%d weeks' ) ) , ( 60 * 60 * 24 , ungettext_lazy ( '%d day' , '%d days' ) ) , ( 60 * 60 , ungettext_lazy ( '%d hour' , '%d hours' ) ) , ( 60 , ungettext_lazy ( '%d minute' , '%d minutes' ) ) )" 357,"if not,",else : 358,substitute e for message.,message = e 359,"can_delete for 'can_delete', min_num for 'min_num', max_num for 'max_num', absolute_max for 'absolute_max', validate_min for 'validate_min' for validate_max for 'validate_max'. create a class class which name is generated by converting 'FormSet' into a string and appending it to form.__name__,","return type ( form . __name__ + str ( 'FormSet' ) , ( formset , ) , attrs )" 360,substitute value for rest.,rest = value 361,"raise an SuspiciousFileOperation exception with string ""Attempted access to '%s' denied."" as argument, replace '%s' with name.","raise SuspiciousFileOperation ( ""Attempted access to '%s' denied."" % name )" 362,substitute SplitHiddenDateTimeWidget for hidden_widget.,hidden_widget = SplitHiddenDateTimeWidget 363,"for every node in compiled_parent.nodelist,",for node in compiled_parent . nodelist : 364,"if template_name is an instance of list or tuple types,","if isinstance ( template_name , ( list , tuple ) ) :" 365,"define the get_str_from_wsgi function with environ, key and default as arguments.","def get_str_from_wsgi ( environ , key , default ) :" 366,"call the model.check method with unpacked dictionary kwargs for every model in return value of function apps.get_models,",errors = [ model . check ( ** kwargs ) for model in apps . get_models ( ) if app_configs is None or model . _meta . app_config in app_configs ] 367,define the method initial_form_count with an argument self.,def initial_form_count ( self ) : 368,define the method j with an argument self.,def j ( self ) : 369,do nothing.,pass 370,"if format is not contained in _serializers,",if format not in _serializers : 371,"if length of tzinfo is greater than integer 3, convert elements of tzinfo from indexes 1 to 3 to an integer,",offset_mins = int ( tzinfo [ - 2 : ] ) if len ( tzinfo ) > 3 else 0 372,return boolean False.,return False 373,"if content_type is false,",if not content_type : 374,"with an argument curr, sort the result and join it in a list separated with blank spaces, print it to the standard output. otherwise if first element of cwords is contanied in subcommands and is not equal to string 'help',",elif cwords [ 0 ] in subcommands and cwords [ 0 ] != 'help' : 375,return ip_str.,return ip_str 376,"if not,",else : 377,derive the class HttpResponseForbidden from the HttpResponse base class.,class HttpResponseForbidden ( HttpResponse ) : 378,return.,return 379,append self to nodes.,nodes . append ( self ) 380,"save_as_new set to boolean False, prefix set to None, queryset set to None and unpacked dictionary kwargs. if instance is None,",if instance is None : 381,"split ip_str by ':', if last element of the result is not equal to hextet.",if not ip_str . split ( ':' ) [ - 1 ] == hextet : 382,"for every app_dir in app_dirs,",for app_dir in app_dirs : 383,WARNING is integer 30.,WARNING = 30 384,call the method os.chdir with an argument our_home_dir.,os . chdir ( our_home_dir ) 385,"call the method self.as_tuple with an argument value under 'mailhost' key of config dictionary,",config [ 'mailhost' ] = self . as_tuple ( config [ 'mailhost' ] ) 386,"call the method copy.deepcopy with an argument self.widgets, substitute the result for obj.widgets.",obj . widgets = copy . deepcopy ( self . widgets ) 387,"and fileobj set to buf. read data from buf file stream, yield the result.",yield buf . read ( ) 388,"if self.regex is not an instance of six.string_types,","if isinstance ( self . _regex , six . string_types ) :" 389,"if timezone has an attribute 'normalize',","if hasattr ( timezone , 'normalize' ) :" 390,from django.utils import termcolors into default name space.,from django . utils import termcolors 391,"if ssl.SSLError or smtplib.SMTPServerDisconnected exception occurred,","except ( ssl . SSLError , smtplib . SMTPServerDisconnected ) :" 392,"replace '%s' in string 'ignoring file %s in %s\n' with filename and dirpath, write it to self.stdout.","self . stdout . write ( 'ignoring file %s in %s\n' % ( filename , dirpath ) )" 393,"call the function module_to_dict with an argument global_settings, substitute it for default_settings.",default_settings = module_to_dict ( global_settings ) 394,call the method self.importer with an argument used.,self . importer ( used ) 395,define the function decorating_function with an argument user_function.,def decorating_function ( user_function ) : 396,do nothing.,pass 397,"and code set to string 'list. substitute self.to_field_name, if true, for key, or if not, substitute string 'pk' for key.",key = self . to_field_name or 'pk' 398,for value under the key key of the cache dictionary. increment stats dictionary value under the MISSES key by integer 1.,stats [ MISSES ] += 1 399,return boolean False.,return False 400,from django.utils import six into default name space.,from django . utils import six 401,"if self.is_reversed is true,",if self . is_reversed : 402,"call the method text.splitlines with an argument boolean True, for every line in the result,",for line in text . splitlines ( True ) : 403,return value.,return value 404,return self.forms element at the index index.,return self . forms [ index ] 405,"if path is an instance of six.string_types,","if isinstance ( path , six . string_types ) :" 406,all_models is an empty list.,all_models = [ ] 407,"call the method self.add_truncation_text with 2 arguments: an empty string and truncate, substitute it for truncate_text.","truncate_text = self . add_truncation_text ( '' , truncate )" 408,"help is a string ""Prints the SQL statements for the named migration.""","help = ""Prints the SQL statements for the named migration.""" 409,initial is an empty list.,initial = [ ] 410,"replace every occurrence of arg is value for an empty string, substitute the result for value.","value = value . replace ( arg , '' )" 411,"call the httpd_cls function with 4 arguments: server_address, WSGIRequestHandler and ipv6 set to ipv6, substitute the result for httpd.","httpd = httpd_cls ( server_address , WSGIRequestHandler , ipv6 = ipv6 )" 412,"_urllib_request_moved_attributes is an list with 33 elements, all of them are the results of the call to the function MovedAttribute with 3 different string arguments.","_urllib_request_moved_attributes = [ MovedAttribute ( ""urlopen"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""install_opener"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""build_opener"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""pathname2url"" , ""urllib"" , ""urllib.request"" ) , MovedAttribute ( ""url2pathname"" , ""urllib"" , ""urllib.request"" ) , MovedAttribute ( ""getproxies"" , ""urllib"" , ""urllib.request"" ) , MovedAttribute ( ""Request"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""OpenerDirector"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPDefaultErrorHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPRedirectHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPCookieProcessor"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""ProxyHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""BaseHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPPasswordMgr"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPPasswordMgrWithDefaultRealm"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""AbstractBasicAuthHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPBasicAuthHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""ProxyBasicAuthHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""AbstractDigestAuthHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPDigestAuthHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""ProxyDigestAuthHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPSHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""FileHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""FTPHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""CacheFTPHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""UnknownHandler"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""HTTPErrorProcessor"" , ""urllib2"" , ""urllib.request"" ) , MovedAttribute ( ""urlretrieve"" , ""urllib"" , ""urllib.request"" ) , MovedAttribute ( ""urlcleanup"" , ""urllib"" , ""urllib.request"" ) , MovedAttribute ( ""URLopener"" , ""urllib"" , ""urllib.request"" ) , MovedAttribute ( ""FancyURLopener"" , ""urllib"" , ""urllib.request"" ) , MovedAttribute ( ""proxy_bypass"" , ""urllib"" , ""urllib.request"" ) , ]" 413,define the method empty_form with an argument self.,def empty_form ( self ) : 414,"define the method handle with 3 arguments: self, unpacked list args and unpacked dictionary options.","def handle ( self , * args , ** options ) :" 415,substitute first args for other_dict.,other_dict = args [ 0 ] 416,"get the value under the 'filename' key of the params dictionary, if it is true,",if params . get ( 'filename' ) : 417,"try,",try : 418,"raise an TemplateSyntaxError exception with an argument string ""'%s' is not a valid tag library: %s"",","raise TemplateSyntaxError ( ""'%s' is not a valid tag library: %s"" % ( taglib , e ) )" 419,"_translations dictionary value, under the language key is an instance of DjangoTranslation class, created with an argument language.",_translations [ language ] = DjangoTranslation ( language ) 420,substitute i-th element of subject for c.,c = subject [ i ] 421,"substitute the list of results for values. return an instance of a class IfChangedNode, created with 3 arguments: nodelist_true, nodelist_false and unpacked list values.","return IfChangedNode ( nodelist_true , nodelist_false , * values )" 422,from django.core.management.base import BaseCommand and CommandError into default name space.,"from django . core . management . base import BaseCommand , CommandError" 423,"_version is a string ""0.91"".","_version = ""0.91""" 424,"finally perform,",finally : 425,"join tempdir and guessed_filename into a file path, substitute it for guessed_path.","guessed_path = path . join ( tempdir , guessed_filename )" 426,"if not,",else : 427,"reverse order of parts, join them into a string, separated with '.', substitute the result for value.",value = '.' . join ( reversed ( parts ) ) 428,define the method __init__ with an argument self.,def __init__ ( self ) : 429,derive the class RssUserland091Feed from the RssFeed base class.,class RssUserland091Feed ( RssFeed ) : 430,"join dirpath and filename into a path separated by '/', append it to new_filenames.","new_filenames . append ( os . path . join ( dirpath , filename ) )" 431,"usage set to return value of the method self.usage called with an argument subcommand, version set to return value of the method self.get_version. call the method parser.add_option with 8 arguments: string '-v', string '--verbosity', action set to string 'store',","parser . add_option ( '-v' , '--verbosity' , action = 'store' , dest = 'verbosity' , default = '1' , type = 'choice' , choices = [ '0' , '1' , '2' , '3' ] , help = 'Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output' )" 432,substitute settings.ROOT_URLCONF for urlconf.,urlconf = settings . ROOT_URLCONF 433,return a list containing an empty string and a list containing an empty list.,"return [ '' ] , [ [ ] ]" 434,"if not,",else : 435,skip this loop iteration.,continue 436,define the function dec with an argument func.,def dec ( func ) : 437,"if old_attr is None,",if old_attr is None : 438,"call the function forbid_multi_line_headers with 3 arguments: name, val and self.encoding, substitute the result for name and val, respectively.","name , val = forbid_multi_line_headers ( name , val , self . encoding )" 439,derive the class Input from the Widget base class.,class Input ( Widget ) : 440,"call the method handler.startElement with 2 arguments: string ""channel"" and result of the method self.root_attributes.","handler . startElement ( ""channel"" , self . root_attributes ( ) )" 441,"opts is a tuple created out of elements s, for every s in styles is s is in the keys of the opt_dict dictionary.",opts = tuple ( s for s in styles if s in opt_dict . keys ( ) ) 442,"call the function warnings.warn with 2 arguments: ""django.utils.tzinfo.FixedOffset will be removed in Django 1.9. ""","warnings . warn ( ""django.utils.tzinfo.FixedOffset will be removed in Django 1.9. "" ""Use django.utils.timezone.get_fixed_timezone instead."" , RemovedInDjango19Warning )" 443,self.fixture_object_count is integer 0.,self . fixture_object_count = 0 444,add self.form.required_css_class to extra_classes set.,extra_classes . add ( self . form . required_css_class ) 445,from django.utils import six into default name space.,from django . utils import six 446,"divide num_entries by self._cull_frequency, convert the result to an integer, call the random.sample function with filelist and previous result as arguments, substitute the result for filelist.","filelist = random . sample ( filelist , int ( num_entries / self . _cull_frequency ) )" 447,"try,",try : 448,"into a file path, substitute it for new_path. if new_path file path exists,",if path . exists ( new_path ) : 449,derive the class Lexer form the base class object.,class Lexer ( object ) : 450,substitute value under the NON_FIELD_ERRORS key of opts.error_messages dictionary for error_messages.,error_messages = opts . error_messages [ NON_FIELD_ERRORS ] 451,substitute table for self._table.,self . _table = table 452,"call the function _trans.to_locale with an argument language, return the result.",return _trans . to_locale ( language ) 453,"call the method tempfile.mkdtemp with 2 arguments: prefix set to prefix, suffix set to string '_extract', substitute the result for tempdir.","tempdir = tempfile . mkdtemp ( prefix = prefix , suffix = '_extract' )" 454,"create a tuple out a tuple with an element integer 2037 and a list tt elements without the first element, substitute the result for tt.","tt = ( 2037 , ) + tt [ 1 : ]" 455,"if Exception, renamed to e, exception is caught,",except Exception as e : 456,define the method __iter__ with an argument self.,def __iter__ ( self ) : 457,"if not,",else : 458,call the function os.chmod with arguments full_path and self.file_permissions_mode.,"os . chmod ( full_path , self . file_permissions_mode )" 459,"for every fname in return value of the glob.glob1 function called with 2 arguments: self._dir and ,","filelist = [ os . path . join ( self . _dir , fname ) for fname in glob . glob1 ( self . _dir , '*%s' % self . cache_suffix ) ]" 460,"for every log in existing,",for log in existing : 461,"for every app_label in app_labels,",for app_label in app_labels : 462,"call the fastcgi_help function with an argument string ""Invalid combination of host, port, socket."", return it.","return fastcgi_help ( ""Invalid combination of host, port, socket."" )" 463,"if not evaluate the method self.form.error_class and return the result. define the method as_widget with 4 arguments: self, widget set to None, attrs set to None, only_initial set to boolean False.","def as_widget ( self , widget = None , attrs = None , only_initial = False ) :" 464,return nothing.,return 465,SINGLE_BRACE_END is a string '}'.,SINGLE_BRACE_END = '}' 466,"use the result as an argument for function call of force_bytes, use the result as an argument for calling the method hashlib.md5, put the result in url. substitute the '%s' in string 'views.decorators.cache.cache_header.%s.%s' with key_prefix and result of the function call,","cache_key = 'views.decorators.cache.cache_header.%s.%s' % ( key_prefix , url . hexdigest ( ) )" 467,"substitute the result for value under the 'clear_checkbox_name' key of the substitutions dictionary. call the function conditional_escape with an argument checkbox_id,",substitutions [ 'clear_checkbox_id' ] = conditional_escape ( checkbox_id ) 468,"if not,",else : 469,"if self.interactive is true,",if self . interactive : 470,"call the function safe_join with 2 arguments template_dir and template_name, yield the result.","yield safe_join ( template_dir , template_name )" 471,if delta is smaller than integer 0.,if delta < 0 : 472,define the method error with arguments self and message.,"def error ( self , message ) :" 473,return template_name.,return template_name 474,define the method update_watch with sender defaulting to None and dictionary pair of elements kwargs.,"def update_watch ( sender = None , ** kwargs ) :" 475,"It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information."", obj set to None and id set to a string '1_6.W001', put the result into a list and return it. if not,",else : 476,"call the method self.var2.resolve with 2 arguments: context and boolean True, substitute the result for val2.","val2 = self . var2 . resolve ( context , True )" 477,derive the class NullBooleanSelect from the Select base class.,class NullBooleanSelect ( Select ) : 478,"if value is not an instance of bytes or six.text_type classes,","if not isinstance ( value , ( bytes , six . text_type ) ) :" 479,"call the method parser.add_argument with 5 arguments: string '--noinput', action set to string 'store_false',","parser . add_argument ( '--noinput' , action = 'store_false' , dest = 'interactive' , default = True , help = 'Tells Django to NOT prompt the user for input of any kind.' )" 480,return default.,return default 481,"try,",try : 482,msguniq_options is an list with elements: string '--to-code=utf-8'.,msguniq_options = [ '--to-code=utf-8' ] 483,"if self.locale_paths is true,",if self . locale_paths : 484,"call the get_complete_version with an argument version, store the result in version.",version = get_complete_version ( version ) 485,"called with 3 arguments: raw string '[^a-zA-Z0-9]', empty string and result of the method table_name.title. strip_prefix is a lambda function with an argument s, return value is s without the first element if s starts with string 'u'',","strip_prefix = lambda s : s [ 1 : ] if s . startswith ( ""u'"" ) else s" 486,"ns is a string ""http://www.w3.org/2005/Atom"".","ns = ""http://www.w3.org/2005/Atom""" 487,"in not,",else : 488,"join app_config.path and string 'fixtures' into a valid file path, substitute it for app_dir.","app_dir = os . path . join ( app_config . path , 'fixtures' )" 489,from gzip import GzipFile into default name space.,from gzip import GzipFile 490,self.active_writers is an integer 0.,self . active_writers = 0 491,"raise an ValueError exception with an argument string ""Negative base36 conversion input."".","raise ValueError ( ""Negative base36 conversion input."" )" 492,define the method __eq__ with an argument self.,"def __eq__ ( self , other ) :" 493,"try,",try : 494,"find the first subgroup of the matched string from the match object, convert it to lowercase, substitute it for tag and self.lasttag.",self . lasttag = tag = match . group ( 1 ) . lower ( ) 495,"if not,",else : 496,substitute settings.SECRET_KEY for secret.,secret = settings . SECRET_KEY 497,"remove the elements from the 'name' and 'dictionary' keys of the options dictionary, substitute them for project_name and target, respectively.","project_name , target = options . pop ( 'name' ) , options . pop ( 'directory' )" 498,"call the function logging.getLogger with string 'django.request' as the argument, assign the return object handle to logger.",logger = logging . getLogger ( 'django.request' ) 499,"call the function tempfile.mkdtemp, substitute the result for tmpdir.",tmpdir = tempfile . mkdtemp ( ) 500,"define the function handle_m2m with an argument value,",def handle_m2m ( value ) : 501,"if ImportError, renamed to e, is caught,",except ImportError as e : 502,"write string "" No optimizations possible."" to self.stdout stream.","self . stdout . write ( "" No optimizations possible."" )" 503,"use the result as an argument for the call to the add_move function. call the function MovedModule with 2 arguments: strings ""_thread"" and ""thread"",","add_move ( MovedModule ( ""_thread"" , ""thread"" ) )" 504,"get the value under the key 'locale' of the options dictionary, substitute it for locale.",locale = options . get ( 'locale' ) 505,"get the value under the key key of the self.cookies dictionary, call the cookie_date function with an argument:",self . cookies [ key ] [ 'expires' ] = cookie_date ( time . time ( ) + max_age ) 506,"if f is an instance of models.FileField,","if isinstance ( f , models . FileField ) :" 507,call the function os.unlink with an argument work_file.,os . unlink ( work_file ) 508,"call the function re.compile with an argument raw string ""^\s*blocktrans(\s+.*context\s+((?:""[^""]*?"")|(?:'[^']*?')))?(?:\s+|$)"",","block_re = re . compile ( r""""""^\s*blocktrans(\s+.*context\s+((?:""[^""]*?"")|(?:'[^']*?')))?(?:\s+|$)"""""" )" 509,import module time as _time.,import time as _time 510,"raise an CommandError exception with an argument string ""Django doesn't know which syntax to use for your SQL statements,\n""","raise CommandError ( ""Django doesn't know which syntax to use for your SQL statements,\n"" + ""because you haven't properly specified the ENGINE setting for the database.\n"" + ""see: https://docs.djangoproject.com/en/dev/ref/settings/#databases"" )" 511,"if self.verbosity is greater than integer 0,",if self . verbosity > 0 : 512,"define the method delete with 3 arguments: self, key, and version set to None.","def delete ( self , key , version = None ) :" 513,"if representative is None,",if representative is None : 514,substitute language for self.language.,self . language = language 515,substitute callable for callable.,callable = callable 516,substitute _iteritems for iteritems.,iteritems = _iteritems 517,skip this loop iteration.,continue 518,"syear is a string ""%04d"" formated with dt.year.","syear = ""%04d"" % ( dt . year , )" 519,"call the method re.match with 2 arguments: naiveip_re and value under the 'addrport' key of the options dictionary, substitute the result for m.","m = re . match ( naiveip_re , options [ 'addrport' ] )" 520,"if template is an instance of list or tuple types,","if isinstance ( template , ( list , tuple ) ) :" 521,"define the method __exit__ with self, exc_type, exc_value and tb as arguments.","def __exit__ ( self , exc_type , exc_value , tb ) :" 522,"yield string ""from __future__ import unicode_literals"" as the result.","yield ""from __future__ import unicode_literals""" 523,"try,",try : 524,"if timeout is None,",if timeout is None : 525,define the method end_serialization with an argument self.,def end_serialization ( self ) : 526,"if att_name equals string 'id' and extra_params equals a dictionary with 1 entry: boolean True for 'primary_key',",if att_name == 'id' and extra_params == { 'primary_key' : True } : 527,"try,",try : 528,"call the method parser.add_argument with 4 arguments: string '--plain', action set to string 'store_true', dest as a string 'plain',","parser . add_argument ( '--plain' , action = 'store_true' , dest = 'plain' , help = 'Tells Django to use plain Python, not IPython or bpython.' )" 529,derive the class DisallowedRedirect from the SuspiciousOperation base class.,class DisallowedRedirect ( SuspiciousOperation ) : 530,"if not,",else : 531,"raise an CommandError with an argument string ""You must supply at least one app label when using --empty."".","raise CommandError ( ""You must supply at least one app label when using --empty."" )" 532,i is integer 0.,i = 0 533,"substitute the result for value under the 'input' key of the substitutions dictionary. if value is true and value has an attribute 'url',","if value and hasattr ( value , ""url"" ) :" 534,call the method self.validate_key with argument key.,self . validate_key ( key ) 535,"if i is greater or equal to integer 0,",if i >= 0 : 536,"otherwise if, if value under the 'unique' key of the dictionary contained under the column_name key of the dictionary indexes is true,",elif indexes [ column_name ] [ 'unique' ] : 537,"if not,",else : 538,"if to is not an six.string_types instance raise an error with message string '""to"" argument must be a list or tuple'.","assert not isinstance ( to , six . string_types ) , '""to"" argument must be a list or tuple'" 539,substitute module.WSGIServer for WSGIServer.,WSGIServer = module . WSGIServer 540,define the method _createdir with argument self.,def _createdir ( self ) : 541,"if message_context is true,",if message_context : 542,"if not,",else : 543,sites is an empty list.,sites = [ ] 544,"define the method set with 5 arguments, self, key, value, timeout set to DEFAULT_TIMEOUT and version set to None.","def set ( self , key , value , timeout = DEFAULT_TIMEOUT , version = None ) :" 545,"define the method setlistdefault with 3 arguments: self, key and default_list set to None.","def setlistdefault ( self , key , default_list = None ) :" 546,substitute self.choices for self.widgetchoices.,self . widget . choices = self . choices 547,"and generic_lang_code. call the function re.compile with an argument string '\s*\n\s*', substitute the result for trim_whitespace_re.",trim_whitespace_re = re . compile ( '\s*\n\s*' ) 548,input_type is a string 'text'.,input_type = 'text' 549,define the method __getinitargs__ with an argument self.,def __getinitargs__ ( self ) : 550,"raise an exception,",raise 551,"call the method self.get_full_path, append the result to string '//', substitute it for location.",location = '//%s' % self . get_full_path ( ) 552,"call the method msgs.decode with an argument string 'utf-8', substitute it for msgs.",msgs = msgs . decode ( 'utf-8' ) 553,"try,",try : 554,from django.utils import six into default name space.,from django . utils import six 555,raise an ValueError exception with an argument string 'Unable to configure handler %r: %s' formated with name and e.,"raise ValueError ( 'Unable to configure handler ' '%r: %s' % ( name , e ) )" 556,"with self.mutex perform,",with self . mutex : 557,from django.middleware.csrf import get_token into default name space.,from django . middleware . csrf import get_token 558,"if OSError, renamed to e, exception is caught,",except OSError as e : 559,"call the method self.make_bytes with an argument value, substitute the result for value.",value = self . make_bytes ( value ) 560,substitute self.model._default_manager for queryset.,queryset = self . model . _default_manager 561,"if settings.USE_TZ is true and value is not None and call to the function timezone.is_naive with an argument value, evaluates to true,",if settings . USE_TZ and value is not None and timezone . is_naive ( value ) : 562,"with the call to the transaction.atomic method with using set to connection.alias, savepoint set to connection.features.can_rollback_ddl as arguments,","with transaction . atomic ( using = connection . alias , savepoint = connection . features . can_rollback_ddl ) :" 563,"if serializers is None,",if serializers is None : 564,return self.find_template_cache dictionary value under the key key.,return self . template_cache [ key ] 565,define the method flatten with an argument self.,def flatten ( self ) : 566,define the function is_valid_ipv6_address with an argument ip_str.,def is_valid_ipv6_address ( ip_str ) : 567,do nothing.,pass 568,url is None.,url = None 569,self._request_middleware is None.,self . _request_middleware = None 570,import module importlib.,import importlib 571,"call the params.get method wit string 'VERSION' and integer 1 as arguments, substitute the result for self.version.","self . version = params . get ( 'VERSION' , 1 )" 572,"if index is not an instance of six.integer_types or tuple type,","if not isinstance ( index , ( slice , ) + six . integer_types ) :" 573,decorator function register.filter with an argument is_safe set to boolean False.,@ register . filter ( is_safe = False ) 574,"members is a list with elements member for every member in the result of the function self._archive.getmembers,",members = [ member for member in self . _archive . getmembers ( ) if member . name != 'pax_global_header' ] 575,return obj.,return obj 576,"call the urlsplit with an argument url, convert the result into a list and return it.",return list ( urlsplit ( url ) ) 577,"if not,",else : 578,"raise an AttributeError with an argument string ""%s could not be imported "", formated with self.name.","raise AttributeError ( ""%s could not be imported "" % self . name )" 579,"if self.verbosity is greater than integer 1,",if self . verbosity > 1 : 580,define the method validate with arguments self and value.,"def validate ( self , value ) :" 581,"call the method self._cache.set with key, value, self.get_backend_timeout(timeout) as arguments.","self . _cache . set ( key , value , self . get_backend_timeout ( timeout ) )" 582,from django.utils.six.moves import zip into default name space.,from django . utils . six . moves import zip 583,call the method self._setup.,self . _setup ( ) 584,builtins is an empty list.,builtins = [ ] 585,"if ValueError exception is caught,",except ValueError : 586,substitute the value under the 'outlog' key of options dictionary for value under the 'out_log' key of daemon_kwargs dictionary.,daemon_kwargs [ 'out_log' ] = options [ 'outlog' ] 587,return nothing.,return 588,MIN_NUM_FORM_COUNT is a string 'MIN_NUM_FORMS'.,MIN_NUM_FORM_COUNT = 'MIN_NUM_FORMS' 589,"validate_comma_separated_integer_list is a instance of a RegexValidator class, created with 3 arguments: comma_separated_int_list_re,","validate_comma_separated_integer_list = RegexValidator ( comma_separated_int_list_re , _ ( 'Enter only digits separated by commas.' ) , 'invalid' )" 590,substitute set of the results for self.value. define the method is_checked with an argument self.,def is_checked ( self ) : 591,return the value under the INITIAL_FORM_COUNT key of the self.management_form.cleaned_data dictionary.,return self . management_form . cleaned_data [ INITIAL_FORM_COUNT ] 592,do nothing.,pass 593,"for every closable in self._closable_objects,",for closable in self . _closable_objects : 594,"define the __init__ method with 3 arguments: self, unpacked list args and unpacked dictionary **kwargs.","def __init__ ( self , * args , ** kwargs ) :" 595,from django.forms.fields import Field and FileField into default name space.,"from django . forms . fields import Field , FileField" 596,call the method self.file.close.,self . file . close ( ) 597,"call the method viewname.split, with an argument ':', substitute the result for parts.",parts = viewname . split ( ':' ) 598,"is smaller than self.min_num, raise an ValidationError with 2 arguments: return value of the function ungettext with 3 arguments:","raise ValidationError ( ungettext ( ""Please submit %d or more forms."" , ""Please submit %d or more forms."" , self . min_num ) % self . min_num , code = 'too_few_forms' )" 599,define the method get_json_data with 2 arguments self and escape_html set to boolean False.,"def get_json_data ( self , escape_html = False ) :" 600,"bitwise shift integer 1 to the left by 31 spaces, substitute integer 1 from the result, convert the result to a integer, substitute it for MAXSIZE.",MAXSIZE = int ( ( 1 << 31 ) - 1 ) 601,yield and empty string as the result.,yield '' 602,substitute self for result.parent.,result . parent = self 603,"replace every occurrence of string '\r\n' in message with '\n', replace every occurrence of string '\r',","eol_message = message . replace ( str ( '\r\n' ) , str ( '\n' ) ) . replace ( str ( '\r' ) , str ( '\n' ) )" 604,"bitwise shift integer 1 to the left by 31 spaces, return the result.",return 1 << 31 605,"self.namespace and self.regex.pattern, respectively. return it. define the method _populate with an argument self.",def _populate ( self ) : 606,"if token.contents is false,",if not token . contents : 607,from django.core import checks into default name space.,from django . core import checks 608,"if length of parts is greater than integer 1 and last element of parts is contained in self.compression_formats,",if len ( parts ) > 1 and parts [ - 1 ] in self . compression_formats : 609,substitute newline character for newline.,"newline = ""\n""" 610,define the method widget_attrs with arguments self and widget.,"def widget_attrs ( self , widget ) :" 611,"join into a file path: path and string '%s.pot', where '%s' is replaced with self.domain converted into a string, substitute the result for pot_path.","pot_path = os . path . join ( path , '%s.pot' % str ( self . domain ) )" 612,"call the method error.items, for every field and error_list in the result,","for field , error_list in error . items ( ) :" 613,define the method _set_regex with arguments self and regex.,"def _set_regex ( self , regex ) :" 614,"if dirname is true and dirname directory doesnt exists,",if dirname and not os . path . exists ( dirname ) : 615,output_transaction is boolean True.,output_transaction = True 616,"call the function ngettext with 3 arguments: singular, plural and number, use the result as an argument for the call to the force_text,","return force_text ( ngettext ( singular , plural , number ) )" 617,define the method add_prefix with 2 arguments: self and field_name.,"def add_prefix ( self , field_name ) :" 618,return boolean False.,return False 619,"try,",try : 620,"join tmpdir and sting 'original' into a file path name, substitute it for original_path.","original_path = os . path . join ( tmpdir , 'original' )" 621,"if index is negative inter 3, if is_reversed, substitute it for in_index, if not, in_index is negative integer 2.",in_index = - 3 if is_reversed else - 2 622,"call the method lexer_class with an arguments template_string and origin, substitute the result for lexer.","lexer = lexer_class ( template_string , origin )" 623,"call the method self.error_class, substitute the result for self._non_form_errors.",self . _non_form_errors = self . error_class ( ) 624,"""test management command has changed in Django 1.8. Please create an add_arguments class method to achieve this."" if test_runner_class has an attribute 'add_arguments',","if hasattr ( test_runner_class , 'add_arguments' ) :" 625,"and placed into 2 character spaces, and '%02d' is replaced with reminder of the division of absolute offset by integer 60, and placed into 2 character spaces. define the method __repr__ with an argument self.",def __repr__ ( self ) : 626,"if var ends with '.',",if var . endswith ( '.' ) : 627,import module json.,import json 628,"split x by character '=' and append first element of the result to the prev_opts list. for every opt in options, if first element of opt is not contained in prev_opts, append opt to the list, substitute it for options.",options = [ opt for opt in options if opt [ 0 ] not in prev_opts ] 629,"call the function sys.getfilesystemencoding if it evaluates to true, substitute its result for fs_encoding,",fs_encoding = sys . getfilesystemencoding ( ) or sys . getdefaultencoding ( ) 630,"if message is an instance of ValidationError class,","if isinstance ( message , ValidationError ) :" 631,"define the method __init__, with 3 arguments: self, stream_or_string and unpacked dictionary options.","def __init__ ( self , stream_or_string , ** options ) :" 632,"call the function _import_module with an argument self.mod, return the result.",return _import_module ( self . mod ) 633,skip this loop iteration.,continue 634,"if slots is an instance of str,","if isinstance ( slots , str ) :" 635,set self.__starttag_text to None.,self . __starttag_text = None 636,"convert byte to its integer representation, return all of the results for every byte in buf.",return ( ord ( byte ) for byte in buf ) 637,"raise an UnrecognizedArchiveFormat exception with an argument string ""File object not a recognized archive format."".","raise UnrecognizedArchiveFormat ( ""File object not a recognized archive format."" )" 638,"call the method self.options.update with dictionary as an argument, containing 1 element: boolean False for 'use_decimal'.",self . options . update ( { 'use_decimal' : False } ) 639,define the method validate with arguments self and value.,"def validate ( self , value ) :" 640,fail_message is a string 'created'.,fail_message = 'created' 641,"states is a dictionary with 2 arguments: appended list with an element instance of a class Tok, created with 3 arguments: ""punct"",","states = { 'div' : both_before + [ Tok ( ""punct"" , literals ( ""/= /"" ) , next = 'reg' ) , ] + both_after , 'reg' : both_before + [ Tok ( ""regex"" , r"""""" / # opening slash # First character is.. ( [^*\\/[] # anything but * \ / or [ | \\. # or an escape sequence | \[ # or a class, which has ( [^\]\\] # anything but \ or ] | \\. # or an escape sequence )* # many times \] ) # Following characters are same, except for excluding a star ( [^\\/[] # anything but \ / or [ | \\. # or an escape sequence | \[ # or a class, which has ( [^\]\\] # anything but \ or ] | \\. # or an escape sequence )* # many times \] )* # many times / # closing slash [a-zA-Z0-9]* # trailing flags """""" , next = 'div' ) , ] + both_after , }" 642,"for every item in values,",for item in values : 643,define the method utcoffset with 2 arguments: self and dt.,"def utcoffset ( self , dt ) :" 644,leave_locale_alone is boolean False.,leave_locale_alone = False 645,from __future__ import unicode_literals into default name space.,from __future__ import unicode_literals 646,define the method __str__ with an argument self.,def __str__ ( self ) : 647,"slice the rawdata string from the k-th to the endpos-th index, remove the whitespaces from the start and the end of the string, substitute it for end.",end = rawdata [ k : endpos ] . strip ( ) 648,call the method zipfile.ZipFile.read with 2 arguments: self and first element of the result of the self.namelist method.,"return zipfile . ZipFile . read ( self , self . namelist ( ) [ 0 ] )" 649,define the method render with 2 arguments self and context.,"def render ( self , context ) :" 650,"query a string 'Please enter either ""yes"" or ""no"": ' and store the result in confirm.","confirm = input ( 'Please enter either ""yes"" or ""no"": ' )" 651,"in encoded, replace all the occurrences of unicode character ""\\054"" with ',' character and ""\\073"" with ';' characters.","encoded = encoded . replace ( "";"" , ""\\073"" ) . replace ( "","" , ""\\054"" )" 652,substitute self.is_localized for widget.is_localized.,widget . is_localized = self . is_localized 653,substitute deconstruct for klass.deconstruct.,klass . deconstruct = deconstruct 654,"if extend is true,",if extend : 655,"get the value under the 'database' key of the options dictionary, use it as the key to get the value from the connections dictionary, substitute the result for connection.",connection = connections [ options [ 'database' ] ] 656,"try,",try : 657,"call the method warnings.warn with an argument string ""No fixture named '%s' found."" where '%s' is replaced with fixture_name.","warnings . warn ( ""No fixture named '%s' found."" % fixture_name )" 658,"call the method self.data.replace with 2 arguments: month as integer 1 and day as integer 1, on the result call the method,","jan1_weekday = self . data . replace ( month = 1 , day = 1 ) . weekday ( ) + 1" 659,"if self.lookups is not None,",if self . lookups is not None : 660,"join migrations_directory and string ""__init__.py"" into a file path, substitute it for init_path.","init_path = os . path . join ( migrations_directory , ""__init__.py"" )" 661,return value.,return value 662,"call the method timezone.normalize with an argument value, substitute the result for value.",value = timezone . normalize ( value ) 663,"property decorator,",@ property 664,substitute self.subject for subject.,subject = self . subject 665,return string '0'.,return '0' 666,"call the method __init__ with an argument display_name, from the base class of the LoaderOrigin class.","super ( LoaderOrigin , self ) . __init__ ( display_name )" 667,"if pos is greater than or equal to last,",if pos >= last : 668,from django.conf import settings into default name space.,from django . conf import settings 669,define the function normalize with an argument pattern.,def normalize ( pattern ) : 670,import module opera.,import operator 671,"finally perform,",finally : 672,define the method tzname with 2 arguments: self and dt.,"def tzname ( self , dt ) :" 673,"if self.allow_files is true,",if self . allow_files : 674,"if custom_sql is empty,",if custom_sql : 675,"msg is an instance of a class SafeMIMEMultipart, created with the arguments: _subtype set to self.alternative_subtype and encoding set to encoding.","msg = SafeMIMEMultipart ( _subtype = self . alternative_subtype , encoding = encoding )" 676,"if field is contained in self.cleaned_data,",if field in self . cleaned_data : 677,"if args and kwargs are both true,",if args and kwargs : 678,"call the function import_library with an argument module, append the result to builtins.",builtins . append ( import_library ( module ) ) 679,"call the function self.compress with empty list as an argument, return the result.",return self . compress ( [ ] ) 680,define the method parse_endtag with self class instance and i as the arguments.,"def parse_endtag ( self , i ) :" 681,import module types.,import types 682,define the method M with an argument self.,def M ( self ) : 683,substitute Field.creation_counter for self.creation_counter.,self . creation_counter = Field . creation_counter 684,attrs is a dictionary with model for 'model'.,attrs = { 'model' : model } 685,"if ImportError, AttributeError, renamed to e, exceptions are caught,","except ( ImportError , AttributeError ) as e :" 686,define the method __getitem__ with 2 arguments: self and key.,"def __getitem__ ( self , key ) :" 687,"if character '=' is contained in x,","if ""="" in x :" 688,define the method tell with an argument self.,def tell ( self ) : 689,"raise an AttributeError with an argument string ""This QueryDict instance is immutable"".","raise AttributeError ( ""This QueryDict instance is immutable"" )" 690,"python_2_unicode_compatible decorator,",@ python_2_unicode_compatible 691,"find index of the occurrence of string ':_(' in p, if its greater or equal to integer 0,",if p . find ( ':_(' ) >= 0 : 692,flags is a integer 0.,flags = 0 693,target_app_labels_only is boolean False.,target_app_labels_only = False 694,derive the class IfChangedNode from Node base class.,class IfChangedNode ( Node ) : 695,"call the method Image.open with an argument file, on the result call the verify method",Image . open ( file ) . verify ( ) 696,if self.selected_fields is None or field.attname is contained in self.selected_fields,if self . selected_fields is None or field . attname in self . selected_fields : 697,"call the method self.split_leading_dir with an argument name, substitute the first element of result for name.",name = self . split_leading_dir ( name ) [ 1 ] 698,from django.utils import six into default name space.,from django . utils import six 699,"if AttributeError exception is caught,",except AttributeError : 700,return arg.,return arg 701,"call the function _trans.get_language_from_path with an argument path, return the result.",return _trans . get_language_from_path ( path ) 702,"if value under the key 'ATOMIC_REQUESTS of db.settings_dic dictionary is True and db.alias is not present in the non_atomic_requests,",if ( db . settings_dict [ 'ATOMIC_REQUESTS' ] and db . alias not in non_atomic_requests ) : 703,derive the class InlineForeignKeyField from the Field base class.,class InlineForeignKeyField ( Field ) : 704,"call the function is_aware with an argument o, if it evaluates to true,",if is_aware ( o ) : 705,"try,",try : 706,self.years is list containing 10 successive integers from this_year.,"self . years = range ( this_year , this_year + 10 )" 707,for every refto and refs in return value of references.items method.,"for refto , refs in references . items ( ) :" 708,from django.core.exceptions import AppRegistryNotReady into default name space.,from django . core . exceptions import AppRegistryNotReady 709,substitute settings.FORMAT_MODULE_PATH for settings.FORMAT_MODULE_PATH.,format_module_path = settings . FORMAT_MODULE_PATH 710,"if ch is contained in string '*?+',",if ch in '*?+' : 711,"try,",try : 712,"if not,",else : 713,"if sent is true,",if sent : 714,"call the function http_cookies.SimpleCookie, on the return value call the value_encode method, with the argument character ';',","_cookie_encodes_correctly = http_cookies . SimpleCookie ( ) . value_encode ( ';' ) == ( ';' , '""\\073""' )" 715,"call the method parser.parse with an argument tuple with an element string 'endfor', substitute the result for nodelist_empty.","nodelist_empty = parser . parse ( ( 'endfor' , ) )" 716,"if KeyError or AttributeError, renamed to exc, exceptions are caught,","except ( KeyError , AttributeError ) as exc :" 717,derive the class ObjectDoesNotExist from the Exception base class.,class ObjectDoesNotExist ( Exception ) : 718,decorator function register.filter with an argument is_safe set to boolean False.,@ register . filter ( is_safe = False ) 719,return iri.,return iri 720,"convert key and default to strings, get the value under the key string key of the environ dictionary, if it does not exists use the,","value = environ . get ( str ( key ) , str ( default ) )" 721,define the method __init__ with 2 arguments: self and lexer.,"def __init__ ( self , lexer ) :" 722,"call the method self.data.timetuple, use the result as an argument for the call to the function time.mktime,",return int ( time . mktime ( self . data . timetuple ( ) ) ) 723,"try,",try : 724,safe_data is an empty dictionary.,safe_data = { } 725,import module stat.,import stat 726,define the method write_items with 2 arguments: self and handler.,"def write_items ( self , handler ) :" 727,"call the function allow_lazy with 2 arguments: wrap and six.text_type, substitute the result for wrap.","wrap = allow_lazy ( wrap , six . text_type )" 728,from __future__ import unicode_literals into default name space.,from __future__ import unicode_literals 729,"for every path in paths,",for path in paths : 730,"call the method self.main_help_text append new line to it, write it to sys.stdout.",sys . stdout . write ( self . main_help_text ( ) + '\n' ) 731,define the method __init__ with an argument self.,def __init__ ( self ) : 732,import module sys.,import sys 733,"define the function ngettext with 4 arguments: context, singular, plural and number.","def npgettext ( context , singular , plural , number ) :" 734,define the method with reload with an argument self.,def __init__ ( self ) : 735,from django.utils.module_loading import import_string into default name space.,from django . utils . module_loading import import_string 736,"if not,",else : 737,"skip this loop iteration,",continue 738,import module warnings.,import warnings 739,"if exp is not None and exp is lesser than return value of the function time.time,",if exp is not None and exp < time . time ( ) : 740,"if t is not None,",if t is not None : 741,"call the method time_str.decode with an argument string 'utf-8', substitute the result for time_str.",time_str = time_str . decode ( 'utf-8' ) 742,"append string ""Field renamed because of name conflict."" to field_notes.",field_notes . append ( 'Field renamed because of name conflict.' ) 743,"call the method __setitem__ from the base class of the QueryDict class, with arguments key and value.","super ( QueryDict , self ) . __setitem__ ( key , value )" 744,define the method write_message with arguments self and message.,"def write_message ( self , message ) :" 745,define the method list with an argument self.,def extract ( self ) : 746,"join elements of output into a string with newline as separator, use it as an argument for the call to the function mark_safe, return it.",return mark_safe ( '\n' . join ( output ) ) 747,"call the __init__ method of the base class of the class LocaleRegexURLResolver, with arguments: None, urlconf_name, default_kwargs, app_name and namespace.","super ( LocaleRegexURLResolver , self ) . __init__ ( None , urlconf_name , default_kwargs , app_name , namespace )" 748,var_obj is None.,var_obj = None 749,"call the method middleware.process_template_response with 2 arguments: request and response, substitute the result for response.","response = middleware . process_template_response ( request , response )" 750,substitute i incremented by 1 for value under the 'counter' key of the loop_dict dictionary.,loop_dict [ 'counter' ] = i + 1 751,return size.,return size 752,"or string 'ANICON' is in os.environ, substitute the evaluated boolean for supported_platform. if sys.stdout has an attribute named 'isatty' and call to the sys.stdout.isatty returns boolean True, substitute True for is_a_tty.","is_a_tty = hasattr ( sys . stdout , 'isatty' ) and sys . stdout . isatty ( )" 753,"""Use django.utils.timezone.get_fixed_timezone instead."" and RemovedInDjango19Warning. if offset is an instance of timedelta class,","if isinstance ( offset , timedelta ) :" 754,call the method self._assert_mutable.,self . _assert_mutable ( ) 755,"convert first element of values into a integer, return the result and ch.","return int ( values [ 0 ] ) , ch" 756,import module codecs.,import codecs 757,"try,",try : 758,"register.tag decorator,",@ register . tag 759,call the method result.setFormatter with an argument formatter.,result . setFormatter ( formatter ) 760,"get the id of the self object, use it as a key to obtain the value from the memo dictionary, substitute self with it.",memo [ id ( self ) ] = result 761,"call the method other.__cast, substitute the result for other.",other = other . __cast ( ) 762,"if other is an instance of Promise class,","if isinstance ( other , Promise ) :" 763,"if not,",else : 764,call the method self._cull.,self . _cull ( ) 765,"e.args is a tuple, containing 1 element: string ""Problem installing fixtures: %s"", where '%s' is replaced with e.","e . args = ( ""Problem installing fixtures: %s"" % e , )" 766,call the function os.makedirs with argument directory.,os . makedirs ( directory ) 767,raise an OverflowError exception with an argument string 'dklen too big'.,raise OverflowError ( 'dklen too big' ) 768,"call the function clean_ipv6_address with arguments value and self.unpack_ipv4, return the result.","return clean_ipv6_address ( value , self . unpack_ipv4 )" 769,from importlib import import_module into default name space.,from importlib import import_module 770,"dest is 'use_base_manager', default is boolean False and help is a string '(use multiple --exclude to exclude multiple apps/models).'. call the method parser.add_argument with 3 arguments: string '--pks', dest set to string 'primary_keys',","parser . add_argument ( '--pks' , dest = 'primary_keys' , help = ""Only dump objects with given primary keys. "" ""Accepts a comma separated list of keys. "" ""This option will only work when you specify one model."" )" 771,"if header_end equals integer negative 1,",if header_end == - 1 : 772,define the function b with an argument s.,def b ( s ) : 773,g is an instance of a class generator.BytesGenerator called with fp and mangle_from_ set to False.,"g = generator . BytesGenerator ( fp , mangle_from_ = False )" 774,import module unicodedata.,import unicodedata 775,"if t.token_type equals TOKEN_BLOCK,",if t . token_type == TOKEN_BLOCK : 776,"call the method self.namelist, if the length of the result is not integer 1,",if len ( self . namelist ( ) ) != 1 : 777,"if not,",else : 778,"for every medium in extend,",for medium in extend : 779,"if url is true,",if url : 780,from collections import defaultdict into default name space.,from collections import defaultdict 781,"call the function datetime.datetime with 3 arguments, now.year, now.month and now.day, substitute the result for now.","now = datetime . datetime ( now . year , now . month , now . day )" 782,"while i is lesser than length of subject and i-th element of subject is not equal to c,",while i < len ( subject ) and subject [ i ] != c : 783,self._changed_data is an empty list.,self . _changed_data = [ ] 784,"call the function parse_boundary_stream with 2 arguments: sub_stream and integer 1024, yield the result as the return value of the generator.","yield parse_boundary_stream ( sub_stream , 1024 )" 785,"call the method value.replace with an argument tzinfo as timezone, return the result.",return value . replace ( tzinfo = timezone ) 786,"define the method __init__ with 4 arguments: self, cyclevars, variable_name set to None and silent set to boolean False.","def __init__ ( self , cyclevars , variable_name = None , silent = False ) :" 787,"if six.PY3 is true,",if six . PY3 : 788,"get_format called with an argument string 'DATE_INPUT_FORMATS', substitute the result for format. call the method value.strftime with an argument format, return the result.",return value . strftime ( format ) 789,substitute the value under the 'errlog' key of options dictionary for value under the 'err_log' key of daemon_kwargs dictionary.,daemon_kwargs [ 'err_log' ] = options [ 'errlog' ] 790,"for every migration_name in migration_names,",for migration_name in migration_names : 791,from itertools import chain into default name space.,from itertools import chain 792,return obj_dict.,return obj_dict 793,substitute line for buffer_.,buffer_ = line 794,"raise an ValueError exception with string ""Key '%s' not found"" as argument, substitute '%s' for key.","raise ValueError ( ""Key '%s' not found"" % key )" 795,"if self._request_middleware is None,",if self . _request_middleware is None : 796,"define the method render with 4 arguments: self, name, value and attrs set to None.","def render ( self , name , value , attrs = None ) :" 797,substitute RAW for TYPE.,TYPE = RAW 798,substitute FILE for TYPE.,TYPE = FILE 799,"substitute the result for guts. concatenate string '""', guts and string '""', substitute the result for tok.","tok = '""' + guts + '""'" 800,"call the method parse from the instance of TemplateIfParser class, created with 2 arguments parser and bits, substitute the result for condition.","condition = TemplateIfParser ( parser , bits ) . parse ( )" 801,"call the method apps.get_model with an argument model_identifier, return the result.",return apps . get_model ( model_identifier ) 802,"call the method loader.get_template with an argument template, return the result.",return loader . get_template ( template ) 803,define the function catalog.,def catalog ( ) : 804,define the method handle_data with 2 arguments self and d.,"def handle_data ( self , d ) :" 805,define the function lock with arguments f and flags.,"def lock ( f , flags ) :" 806,call the function force_text with an argument template_string.,template_string = force_text ( template_string ) 807,"if potfile file path doesnt exist,",if not os . path . exists ( potfile ) : 808,"decrement self.active_writers by integer 1,",self . active_writers -= 1 809,"if self has an attribute '_coerce',","if hasattr ( self , '_coerce' ) :" 810,"call the function _trans.templatize with 2 arguments: src and origin, return the result.","return _trans . templatize ( src , origin )" 811,define the method compile_string with 2 arguments: template_string and origin.,"def compile_string ( template_string , origin ) :" 812,"try,",try : 813,raise NotImplementedError exception with an argument string 'Subclasses must implement this method.'.,raise NotImplementedError ( 'Subclasses must implement this method.' ) 814,decorator function wraps with an argument func.,@ wraps ( func ) 815,"replace every occurrence of ' ' in value for '\xa0', return the result.","return value . replace ( "" "" , ""\xa0"" )" 816,append mw_instance.process_request at the end of request_middleware.,request_middleware . append ( mw_instance . process_request ) 817,"if boundary is false or return value of the method cgi.valid_boundary called with an argument boundary evaluates to false,",if not boundary or not cgi . valid_boundary ( boundary ) : 818,"convert val to an list, substitute it for val.",val = list ( val ) 819,if ValueError exception is caught.,except ValueError : 820,import module re.,import re 821,"convert the first element of the result to uppercase, append to it the rest of the result, substitute it for capfirst. call the function allow_lazy with 3 arguments: capfirst and six.text_type.","capfirst = allow_lazy ( capfirst , six . text_type )" 822,define the method eval with 2 arguments self and context.,"def eval ( self , context ) :" 823,from django.utils.six import StringIO into default name space.,from django . utils . six import StringIO 824,substitute size for self._size.,self . _size = size 825,errors is an empty list.,errors = [ ] 826,"if 'error_messages' is contained in kwargs,",if 'error_messages' in kwargs : 827,call the method self._add_local_translations.,self . _add_local_translations ( ) 828,derive the class Node form the base class object.,class Node ( object ) : 829,"if os.path.sep is contained in fixture_name,",if os . path . sep in fixture_name : 830,define the method __init__ with 2 arguments: self and tokens.,"def __init__ ( self , tokens ) :" 831,"if primary_keys is true,",if primary_keys : 832,define the method __mod__ with 2 arguments: self and rhs.,"def __mod__ ( self , rhs ) :" 833,"if socket.error, renamed to e, exception is caught,",except socket . error as e : 834,substitute func for value under the '_setupfunc' key of the self.__dict__ dictionary.,self . __dict__ [ '_setupfunc' ] = func 835,data is None.,data = None 836,from django.utils.text import get_valid_filename into default name space.,from django . utils . text import get_valid_filename 837,"otherwise if auto_id is true,",elif auto_id : 838,"call the method self.get_json_data with an argument escape_html,",return json . dumps ( self . get_json_data ( escape_html ) ) 839,self.nodelist_empty is an instance of NodeList class.,self . nodelist_empty = NodeList ( ) 840,"if ValidationError renamed to e, exception is caught,",except ValidationError as e : 841,app is a string 'django',app = 'django' 842,"try,",try : 843,"for every char in result of the self.add_truncation_text, called with 2 arguments: an empty string and truncate.","for char in self . add_truncation_text ( '' , truncate ) :" 844,"call the method ETAG_MATCH.findall with an argument etag_str, substitute the result for etags.",etags = ETAG_MATCH . findall ( etag_str ) 845,"if field_type equals a string 'AutoField(',",if field_type == 'AutoField(' : 846,c is an instance of the class SimpleCookie.,c = SimpleCookie ( ) 847,attrs is a dictionary containing 1 entry: return value of the smart_text function with argument obj._meta for 'model'.,"attrs = { ""model"" : smart_text ( obj . _meta ) }" 848,"split ip_str into 2 parts from right, return second element of the result.","return ip_str . rsplit ( ':' , 1 ) [ 1 ]" 849,define the function flatten_result with an argument source.,def flatten_result ( source ) : 850,"if request._post_parse_error is true,",if request . _post_parse_error : 851,"except if KeyError exception is caught,",except KeyError : 852,"for every f in opts.fields,",for f in opts . fields : 853,"where 'strdq' is replaced with '""[^""\\]*(?:\\.[^""\\]*)*""', 'strsq' is replaced with ""'[^'\\]*(?:\\.[^'\\]*)*'"", 'i18n_open' is replaced with return value of function re.escape called with an argument string '_(', 'i18n_close' is replaced with return value of function re.escape called with an argument string ')'. remove all occurrences of newline character from constant_string.","constant_string = constant_string . replace ( ""\n"" , """" )" 854,"define the method incr with self, key, delta defaulting to integer 1 and version defaulting to None as arguments.","def incr ( self , key , delta = 1 , version = None ) :" 855,"if type of result is ConvertingDict, ConvertingList or ConvertingTuple,","if type ( result ) in ( ConvertingDict , ConvertingList , ConvertingTuple ) :" 856,"join missing_fields into a string separated by string ', ', use it and opts.model.__name__ to format message, substitute the result for message.","message = message % ( ', ' . join ( missing_fields ) , opts . model . __name__ )" 857,comment_lineno_cache is None.,comment_lineno_cache = None 858,"if not,",else : 859,"use the remainder of the division of name by count as the argument for the call to the avoid_wrapping function, store the result in result.",result = avoid_wrapping ( name % count ) 860,values is an empty list.,values = [ ] 861,"if field.rel.to._default_manager has an attribute 'get_by_natural_key',","if hasattr ( field . rel . to . _default_manager , 'get_by_natural_key' ) :" 862,"self.dict is an instance of OrderedDict class, created with arguments: tuples with 2 argument x and None, for every x in iterables,","self . dict = OrderedDict ( ( ( x , None ) for x in iterable ) if iterable else [ ] )" 863,"if not,",else : 864,"register.tag decorator function with an argument 'filter',",@ register . tag ( 'filter' ) 865,define the function _samefile with arguments src and dst.,"def _samefile ( src , dst ) :" 866,requires_system_checks is boolean False.,requires_system_checks = False 867,"alternatively, if six.PY3 is true check if message does not have an attribute 'message', if six.PY3 is false, check if message doesnt have an attribute 'code', perform the following,","elif not hasattr ( message , 'message' if six . PY3 else 'code' ) :" 868,"if KeyError exception is caught,",except KeyError : 869,"try,",try : 870,"try,",try : 871,"convert d into a integer, subtract d from it, substitute the result for m.",m = int ( d ) - d 872,"define the function make_key with self class instance, key and version set to None as arguments.","def make_key ( self , key , version = None ) :" 873,"filemsg is a string 'file %s, ', where '%s' is replaced with origin.","filemsg = 'file %s, ' % origin" 874,"if cls has an attribute k,","if hasattr ( cls , k ) :" 875,"if not,",else : 876,"raise an TemplateSyntaxError exception with an argument string ""back called without some previous parsing"".","raise TemplateSyntaxError ( ""back called without some previous "" ""parsing"" )" 877,"error_class, label_suffix and empty_permitted. for every field_name in self.fields,",for field_name in self . fields : 878,substitute upload_handlers for self._upload_handlers.,self . _upload_handlers = upload_handlers 879,if the key doesnt exists use sys.stdout as an argument. if value under the 'no_color' key of the options dictionary.,if options . get ( 'no_color' ) : 880,"if self.instance.pk is not None,",if self . instance . pk is not None : 881,"try,",try : 882,return klass.,return klass 883,value is an empty list.,value = [ ] 884,"try,",try : 885,import module time.,import time 886,"raise an NoReverseMatch exception with an argument string ""%s is not a registered namespace"", with '%s' replaced with key.","raise NoReverseMatch ( ""%s is not a registered namespace"" % key )" 887,append node to nodelist.,nodelist . append ( node ) 888,error_messages is an empty dictionary. substitute error_message for value under the 'invalid' key of the error_messages dictionary.,error_messages [ 'invalid' ] = error_message 889,"if options.traceback is true or e is not CommandError instance,","if options . traceback or not isinstance ( e , CommandError ) :" 890,return self._choices.,return self . _choices 891,"try,",try : 892,"try,",try : 893,"try,",try : 894,"call the method self._get_to_python with an argument pk_field, substitute the result for to_python.",to_python = self . _get_to_python ( pk_field ) 895,substitute varlist for self.varlist.,self . _varlist = varlist 896,return encoding.,return encoding 897,"if now equals to boolean True and now is not an instance of datetime.datetime,","if now and not isinstance ( now , datetime . datetime ) :" 898,"if token.contents equals a string 'else',",if token . contents == 'else' : 899,return results.,return results 900,"call the function plural_re.match with an argument t.contents, substitute the result for pluralmatch.",pluralmatch = plural_re . match ( t . contents ) 901,"for every middleware_method in self._exception_middleware,",for middleware_method in self . _exception_middleware : 902,from xml.sax.saxutils import XMLGenerator into default name space.,from xml . sax . saxutils import XMLGenerator 903,"if fields is true,",if fields : 904,"for every c in reversed order of self.__class__.__mro__,",for c in reversed ( self . __class__ . __mro__ ) : 905,from django.utils import six into default name space.,from django . utils import six 906,return nothing.,return 907,"return the string '', with occurrences of '%s' replaced by self.number and self.paginator.num_pages, respectively.","return '' % ( self . number , self . paginator . num_pages )" 908,"if not,",else : 909,"default_error_messages is a dictionary with 4 initial entries: return value of the function _ called with string as an argument,","default_error_messages = { 'invalid' : _ ( 'Enter a number.' ) , 'max_digits' : ungettext_lazy ( 'Ensure that there are no more than %(max)s digit in total.' , 'Ensure that there are no more than %(max)s digits in total.' , 'max' ) , 'max_decimal_places' : ungettext_lazy ( 'Ensure that there are no more than %(max)s decimal place.' , 'Ensure that there are no more than %(max)s decimal places.' , 'max' ) , 'max_whole_digits' : ungettext_lazy ( 'Ensure that there are no more than %(max)s digit before the decimal point.' , 'Ensure that there are no more than %(max)s digits before the decimal point.' , 'max' ) , }" 910,_called_from_command_line is boolean False.,_called_from_command_line = False 911,"if opts.model is true,",if opts . model : 912,define the method copy with an argument self.,def copy ( self ) : 913,collect is an empty list.,collect = [ ] 914,"if length of value is not equal to integer 1,",if len ( value ) != 1 : 915,"self.blocks is a dictionary with elements: n for n.name, for every n in return value of the method nodelist.get_nodes_by_type,","self . blocks = dict ( ( n . name , n ) for n in nodelist . get_nodes_by_type ( BlockNode ) )" 916,label is an empty string.,label = '' 917,substitute name for old_attr.,old_attr = name 918,"get the next element of the iterable pattern_iter, assign the result for ch and escaped, respectively.","ch , escaped = next ( input_iter )" 919,if AttributeError or UnsupportedOperation exception occurred.,"except ( AttributeError , UnsupportedOperation ) :" 920,raise an ValidationError with 2 arguments: value under the 'invalid_date' key of the self.error_messages dictionary and code set to string 'invalid_date'.,"raise ValidationError ( self . error_messages [ 'invalid_date' ] , code = 'invalid_date' )" 921,"define the method __init__ with 7 arguments: self, request, template, context set to None, content_type set to None,","def __init__ ( self , request , template , context = None , content_type = None , status = None , current_app = None ) :" 922,"if self.field.cache_choices is true,",if self . field . cache_choices : 923,define function fix_location_header with request and response as arguments.,"def fix_location_header ( request , response ) :" 924,delete attr.,del attr 925,"pk_key is a string ""%s-%s"", where '%s' is replaced with: result of the method self.add_prefix called with an argument i,","pk_key = ""%s-%s"" % ( self . add_prefix ( i ) , self . model . _meta . pk . name )" 926,from __future__ import unicode_literals into default name space.,from __future__ import unicode_literals 927,from __future__ import unicode_literals into default name space.,from __future__ import unicode_literals 928,define the method widget_attrs with arguments self and widget.,"def widget_attrs ( self , widget ) :" 929,"call the method self.to_python with an argument value, strip the whitespaces from the result, substitute it for value.",value = self . to_python ( value ) . strip ( ) 930,yield line.,yield line 931,write raw_data to self.file file.,self . file . write ( raw_data ) 932,substitute empty_label for self.empty_label.,self . empty_label = empty_label 933,"call the function import_string with an argument loader, substitute the result for TemplateLoader.",TemplateLoader = import_string ( loader ) 934,"for every sql in return value of the function connection.creation.sql_for_pending_references called with arguments: model, style,","alter_sql . extend ( [ '-- ' + sql for sql in connection . creation . sql_for_pending_references ( model , style , pending_references ) ] )" 935,"if response.streaming is true,",if response . streaming : 936,"call the function force_text with an argument top_errors, format error_row with it, insert it at the beginning of output.","output . insert ( 0 , error_row % force_text ( top_errors ) )" 937,return the result. decorator function register.filter with an argument is_safe set to boolean True.,@ register . filter ( is_safe = True ) 938,"raise an ImproperlyConfigured with an argument string 'Loader does not define a ""load_template"" callable template source loader'.","raise ImproperlyConfigured ( 'Loader does not define a ""load_template"" callable template source loader' )" 939,"call the method self.coerce with an argument choice, append the result to new_value.",new_value . append ( self . coerce ( choice ) ) 940,"for every i in sequence of integers, from 0 to the result of the method self.total_form_count,","for i in range ( 0 , self . total_form_count ( ) ) :" 941,"raise an NoReverseMatch exception with an argument string ""Reverse for '%s' with arguments '%s' and keyword "",","raise NoReverseMatch ( ""Reverse for '%s' with arguments '%s' and keyword "" ""arguments '%s' not found. %d pattern(s) tried: %s"" % ( lookup_view_s , args , kwargs , len ( patterns ) , patterns ) )" 942,"if CommandError exception is caught,",except CommandError : 943,"a string '%s_%s', where '%s' is replaced with tablename and f.name, respectively, return value of the function qn called with an argument tablename and return value of the function qn called with an argument f.name. join field_output elements into a string, separated by whitespaces, append it to table_output.","table_output . append ( "" "" . join ( field_output ) )" 944,"call the self.get_response with request as the argument, substitute the result for response.",response = self . get_response ( request ) 945,import module django.core.checks.compatibility.django_1_7_0.,import django . core . checks . compatibility . django_1_7_0 946,escaped is boolean True.,escaped = True 947,call the method self.unclosed_block_tag with an argument list with an element endtag.,self . unclosed_block_tag ( [ endtag ] ) 948,"define the method __init__ with arguments: self, cmd and unpacked dictionary kwargs.","def __init__ ( self , cmd , ** kwargs ) :" 949,"is length of list_ equals integer 0,",if len ( list_ ) == 0 : 950,"code set to string 'max_whole_digits' and params set to a dictionary with an entry: difference of the self.max_digits and self.decimal_places, for 'max'. return value.",return value 951,"try,",try : 952,"if line ends with a new line character substitute width incremented by integer 1 for max_width, if not substitute width for max_width.","max_width = min ( ( line . endswith ( '\n' ) and width + 1 or width ) , width )" 953,"get translation_function attribute of the object t, call the result with an argument eol_message, substitute the result for result.","result = getattr ( t , translation_function ) ( eol_message )" 954,import module hmac.,import hmac 955,from django.utils import six and lru_cache into default name space.,"from django . utils import six , lru_cache" 956,"call the method app_config.get_models with include_auto_created set to boolean True, substitute the result for models.",models = app_config . get_models ( include_auto_created = True ) 957,"raise an TemplateDoesNotExist exception with an argument, elements of not_found joined into a string, separated with ', '","raise TemplateDoesNotExist ( ', ' . join ( not_found ) )" 958,return boolean False.,return False 959,"import_library and libraries. __all__ is a tuple containing 4 strings: 'Template', 'Context', 'RequestContext' and 'compile_string'.","__all__ = ( 'Template' , 'Context' , 'RequestContext' , 'compile_string' )" 960,define the function conditional_escape with an argument text.,def conditional_escape ( text ) : 961,"if candidate is not an instance of six.string_types,","if not isinstance ( candidate , six . string_types ) :" 962,comment is an empty list.,comment = [ ] 963,"extend all_models list with the result. call the function emit_post_migrate_signal with 4 arguments: all_models converted into a set, verbosity, interactive and database.","emit_post_migrate_signal ( set ( all_models ) , verbosity , interactive , database )" 964,"replace %s in string ' %s%s' with: line and character ',' if i is lesser than length of table_output decremented by one,","full_statement . append ( ' %s%s' % ( line , ',' if i < len ( table_output ) - 1 else '' ) )" 965,"if ch equals a string '?',",if ch == '?' : 966,substitute inverse_match for self.inverse_match.,self . inverse_match = inverse_match 967,assign self.model._meta.pk to self._pk_field and pk.,self . _pk_field = pk = self . model . _meta . pk 968,"call the __init__ method with 3 arguments: ERROR, unpacked list args and unpacked dictionary kwargs from the base class of Error.","return super ( Error , self ) . __init__ ( ERROR , * args , ** kwargs )" 969,"if token.token_type equals integer 0,",if token . token_type == 0 : 970,"if string 'forloop' is contained in context,",if 'forloop' in context : 971,derive the class BoundaryIter from the six.Iterator base class.,class BoundaryIter ( six . Iterator ) : 972,substitute path_info for self.path_info.,self . path_info = path_info 973,define the method clean with arguments self and value.,"def clean ( self , value ) :" 974,"string '--keyword=gettext_noop', string '--keyword=gettext_lazy', string '--keyword=ngettext_lazy:1,2', string '--keyword=ugettext_noop', string '--keyword=ugettext_lazy', string '--keyword=ungettext_lazy:1,2', string '--keyword=pgettext:1c,2', string '--keyword=npgettext:1c,2,3', string '--keyword=pgettext_lazy:1c,2', string '--keyword=npgettext_lazy:1c,2,3' and string '--output=-', substitute the result for args. append work_file to args.",args . append ( work_file ) 975,"if html is true,",if html : 976,substitute is_reversed for self.is_reversed.,self . is_reversed = is_reversed 977,define the function total_ordering with an argument cls.,def total_ordering ( cls ) : 978,"return an empty string,",return '' 979,append string '-- The following references should be added but depend on non-existent tables:' to the final_output.,final_output . append ( '-- The following references should be added but depend on non-existent tables:' ) 980,"substitute the result for the value under the 'month' key of the html dictionary. for every i in successive list of integers from 1 to 30, append tuple containing i and i elements into a list,","choices = [ ( i , i ) for i in range ( 1 , 32 ) ]" 981,call the method self._clean_form.,self . _clean_form ( ) 982,"for every handler in handlers,",for handler in handlers : 983,"if imatch is true,",if imatch : 984,return None.,return None 985,factor is integer 0.,factor = 0 986,from django.core.management.sql import sql_custom into default name space.,from django . core . management . sql import sql_custom 987,substitute length of tokens for l.,l = len ( tokens ) 988,"if fk_name is true,",if fk_name : 989,"if HTMLParseError exception is caught,",except HTMLParseError : 990,"get the name of the callback, substitute it for view_name.",view_name = callback . __name__ 991,"define the method __setattr__ with self, name and value as arguments.","def __setattr__ ( self , name , value ) :" 992,substitute use_l10n for self.use_l10n.,self . use_l10n = use_l10n 993,"call the method kwarg_re.match with an argument first element of bits, substitute the result for match.",match = kwarg_re . match ( bits [ 0 ] ) 994,"for every hook in sys.path_hooks,",for hook in sys . path_hooks : 995,intrans is boolean False.,intrans = False 996,"formated with c, filemsg and comment_lineno_cache. call the function warnings.warn with 2 arguments: warn_msg and TranslatorCommentWarning.","warnings . warn ( warn_msg , TranslatorCommentWarning )" 997,define the method compress with arguments self and data_list.,"def compress ( self , data_list ) :" 998,derive the class ViewDoesNotExist from the Exception base class.,class ViewDoesNotExist ( Exception ) : 999,call the method final_output.extend with an argument output.,final_output . extend ( output ) 1000,requires_system_checks is boolean False.,requires_system_checks = False 1001,"substitute it for candidate_subs. if not,",else : 1002,"if self.choices is true,",if self . choices : 1003,"call the function resolver.resolve_error_handler with status_code as an argument, assign the result to the callback and param_dict, respectively.","callback , param_dict = resolver . resolve_error_handler ( status_code )" 1004,define the method render with an argument self.,def render ( self ) : 1005,return data.,return data 1006,"if not,",else : 1007,"remove config dictionary element under 'level' key, if it exists substitute it for level, if not, level is None.","level = config . pop ( 'level' , None )" 1008,"call the function flatten_result with an argument item, assign the result to res and args, respectively.","res , args = flatten_result ( item )" 1009,substitute obj_pk.pk for obj_pk.,obj_pk = obj_pk . pk 1010,return boolean False.,return False 1011,derive the class NoReverseMatch with Exception as base class.,class NoReverseMatch ( Exception ) : 1012,import module json.,import json 1013,use global variable _default.,global _default 1014,define the method configure_handler with 2 arguments: self and config.,"def configure_handler ( self , config ) :" 1015,if ch is not equal to string '\\'.,if ch != '\\' : 1016,"if not,",else : 1017,"format translated with rhs, substitute the result for translated.",translated = translated % rhs 1018,"and directory_permissions_mode set to None. if location is None,",if location is None : 1019,biggest_number is maximum numbers element.,biggest_number = max ( [ x for x in numbers if x is not None ] ) 1020,"wsgi_opts is a dictionary with 4 initial entries: value under the key 'maxspare' of options dictionary converted to an integer,","wsgi_opts = { 'maxSpare' : int ( options [ ""maxspare"" ] ) , 'minSpare' : int ( options [ ""minspare"" ] ) , 'maxChildren' : int ( options [ ""maxchildren"" ] ) , 'maxRequests' : int ( options [ ""maxrequests"" ] ) , }" 1021,"raise an AttributeError exception with an argument string ""You cannot set content to a 304 (Not Modified) response"".","raise AttributeError ( ""You cannot set content to a 304 (Not Modified) response"" )" 1022,is_usable is boolean True.,is_usable = True 1023,"raise an ValueError exception wit an argument string ""Not a string literal: %r"", where ""%r"" is replaced with s.","raise ValueError ( ""Not a string literal: %r"" % s )" 1024,yield string 'year' as an return value of the generator.,yield 'year' 1025,"if scheme is countaine in self.url_schemes return boolean True, otherwise return False.",return scheme in self . url_schemes 1026,"if six.PY2 is true and value is greater than sys.maxint,",if six . PY2 and value > sys . maxint : 1027,"if match is true,",if match : 1028,"define the method extend_nodelist with 4 arguments: self, nodelist, node and token.","def extend_nodelist ( self , nodelist , node , token ) :" 1029,"for every form in self call the method form.has_changed if any of the results evaluates to true, return boolean True,",return any ( form . has_changed ( ) for form in self ) 1030,"convert exclude elements to list, substitute it for construct_instance_exclude.",construct_instance_exclude = list ( exclude ) 1031,"if new_conn_created is true,",if new_conn_created : 1032,"decorator method register.tag with an argument 'block',",@ register . tag ( 'block' ) 1033,"if bf_errors is true,",if bf_errors : 1034,"if self.is_bound is false,",if not self . is_bound : 1035,"if var starts with '_(' and var ends with ')',",if var . startswith ( '_(' ) and var . endswith ( ')' ) : 1036,__M is a raw string '(?P\w{3})'.,__M = r'(?P\w{3})' 1037,"where '%s' is replaced with tag and TemplateTagNode.mapping converted into a list. return an instance of a TemplateTagNode class, created with an argument tag.",return TemplateTagNode ( tag ) 1038,define the method strftime with 2 arguments: self and fmt.,"def strftime ( self , fmt ) :" 1039,if stream_or_string is an instance of six.string_types type.,"if isinstance ( stream_or_string , six . string_types ) :" 1040,set attr.name attribute of Module_six_moves_urllib_response object to attr.,"setattr ( Module_six_moves_urllib_response , attr . name , attr )" 1041,"define the method write with 3 arguments self, outfile and encoding.","def write ( self , outfile , encoding ) :" 1042,"skip this loop iteration,",continue 1043,"define the method add_filters with 3 arguments: self, filterer and filters.","def add_filters ( self , filterer , filters ) :" 1044,"call the method time_str.decode with an argument string 'utf-8', substitute the result for time_str.",time_str = time_str . decode ( 'utf-8' ) 1045,"call the function new_method_proxy with an argument dir, substitute the result for __dir__.",__dir__ = new_method_proxy ( dir ) 1046,define the method __len__ with an argument self.,def __len__ ( self ) : 1047,"call the method token.split_contents, substitute results without the first element for bits.",bits = token . split_contents ( ) [ 1 : ] 1048,"multiply offset.days with 86400, add offset.seconds to the result, return the result.",return offset . days * 86400 + offset . seconds 1049,"join self into a bytes string, yield the result as the return value of the generator.",yield b'' . join ( self ) 1050,import module warnings.,import warnings 1051,"if not,",else : 1052,import module warnings.,import warnings 1053,"return a tuple with 3 elements: TYPE, outdict and stream.","return ( TYPE , outdict , stream )" 1054,from collections import OrderedDict into default name space.,from collections import OrderedDict 1055,define the function safe_join with 2 arguments base and unpacked dictionary paths.,"def safe_join ( base , * paths ) :" 1056,convert newline character to unicode and substitute the result for newline.,"newline = unicode ( ""\n"" )" 1057,"call the function datetime.utcfromtimestamp with argument timeout, substitute it for exp.",exp = datetime . utcfromtimestamp ( timeout ) 1058,substitute BOOL for LockFileEx.restype.,LockFileEx . restype = BOOL 1059,"get the value under the format key of the _serializers dictionary, return the Serializer filed of the result.",return _serializers [ format ] . Serializer 1060,"if num_loopvars is greater than integer 1, unpack is an boolean True, otherwise is an boolean False.",unpack = num_loopvars > 1 1061,"call the function mark_safe with an argument word, substitute the result for i-th element of words.",words [ i ] = mark_safe ( word ) 1062,evaluate function Lock() assign the result to initLock.,initLock = Lock ( ) 1063,"and code set to string 'invalid'. decorator deconstructible,",@ deconstructible 1064,"bring integer 2 to the power of 10, multiply it by integer 64, substitute the result for chunk_size.",chunk_size = 64 * 2 ** 10 1065,define the method __init__ with 2 arguments: self and conditions_nodelists.,"def __init__ ( self , conditions_nodelists ) :" 1066,"define the method _save with arguments self, name and content.","def _save ( self , name , content ) :" 1067,"substitute '%s' in string '%s_%s' with id_ and first_select, return it.","return '%s_%s' % ( id_ , first_select )" 1068,"if length of key is greater than MEMCACHE_MAX_KEY_LENGTH,",if len ( key ) > MEMCACHE_MAX_KEY_LENGTH : 1069,"if formfield is true,",if formfield : 1070,set cache to the value of the dictionary caches under the key settings.CACHE_MIDDLEWARE_ALIAS.,cache = caches [ settings . CACHE_MIDDLEWARE_ALIAS ] 1071,"return nodelist_true_output, if true, if not call the method self.nodelist_true.render with an argument context and return the result.",return nodelist_true_output or self . nodelist_true . render ( context ) 1072,"convert elements of self into a list, return the its printable representation.",return repr ( list ( self ) ) 1073,"if number is greater than self.num_pages,",if number > self . num_pages : 1074,"replace all the strings '\\' with '/' in the string name, use it as an argument for the call to the force_text function, return the result.","return force_text ( name . replace ( '\\' , '/' ) )" 1075,return boolean True.,return False 1076,"and construct as boolean False, return the result. save.alters_data is boolean True.",save . alters_data = True 1077,substitute s1 for s.,s = s1 1078,"string '%Y-%m-%d', convert the result into a string and append it to ',', substitute the result for d. format string 'tag:%s%s:%s/%s' with bits.hostname, d, bits.path and bits.fragment, return it.","return 'tag:%s%s:%s/%s' % ( bits . hostname , d , bits . path , bits . fragment )" 1079,return integer 0.,return 0 1080,"if cache_timeout equals to None,",if cache_timeout is None : 1081,derive the class TemplateLiteral from Literal base class.,class TemplateLiteral ( Literal ) : 1082,"call the function termcolors.parse_color_setting with DJANGO_COLORS as an argument, assign the result to color_settings.",color_settings = termcolors . parse_color_setting ( DJANGO_COLORS ) 1083,TRANSLATOR_COMMENT_MARK is a string 'Translators'.,TRANSLATOR_COMMENT_MARK = 'Translators' 1084,"call to the self.handle_uncaught_exception method with request, resolver and value of the evaluated function sys.exec_info,","response = self . handle_uncaught_exception ( request , resolver , sys . exc_info ( ) )" 1085,substitute item_date for latest_date.,latest_date = item_date 1086,"call the signed_value.rsplit method with arguments self.sep and integer 1, substitute the result for value and sig, respectively.","value , sig = signed_value . rsplit ( self . sep , 1 )" 1087,"call the method f.value_from_object with an argument instance, substitute the result for qs.",qs = f . value_from_object ( instance ) 1088,"from email import charset as Charset, encoders as Encoders, message_from_string and generator.","from email import ( charset as Charset , encoders as Encoders , message_from_string , generator )" 1089,"if v is an instance of list or tuple type,","if isinstance ( v , ( list , tuple ) ) :" 1090,incomment is boolean True.,incomment = True 1091,return self._num_pages.,return self . _num_pages 1092,"call the function get_supported_language_variant with an argument accept_lang, return the result.",return get_supported_language_variant ( accept_lang ) 1093,"call the function unicodedata.combining with an argument char, if it evaluates to true,",if unicodedata . combining ( char ) : 1094,"return value of the call to the function _ with an argument string 'Enter only digits separated by commas.' and string 'invalid'. decorator deconstructible,",@ deconstructible 1095,"get the value under the 'use_base_manager' key of the options dictionary, substitute the result for use_base_manager.",use_base_manager = options . get ( 'use_base_manager' ) 1096,"define the function reverse with 6 arguments: viewname, urlconf set to None, args set to None, kwargs set to None,","def reverse ( viewname , urlconf = None , args = None , kwargs = None , prefix = None , current_app = None ) :" 1097,"if self._is_rendered is true,",if self . _is_rendered : 1098,"while current_len is smaller than or equal to length,",while current_len <= length : 1099,"define the function _set_response_etag, with response as an argument.",def _set_response_etag ( response ) : 1100,"decorator function register.filter with an argument string ""escapejs"".","@ register . filter ( ""escapejs"" )" 1101,if mw_instance has an attribute named 'process_response'.,"if hasattr ( mw_instance , 'process_response' ) :" 1102,call the method self.xml.endElement with an argument string 'object'.,"self . xml . endElement ( ""object"" )" 1103,replace '%s' in string 'django_%s_template_' with self.app_or_project.,prefix = 'django_%s_template_' % self . app_or_project 1104,"call the method blankout with 2 arguments: part and 'S', write the result to out.","out . write ( blankout ( part , 'S' ) )" 1105,from django.utils import six into default name space.,from django . utils import six 1106,"call the method parser.add_argument with 3 arguments: string 'args', metavar set to string 'app_label' and nargs set to '*'.","parser . add_argument ( 'args' , metavar = 'app_label' , nargs = '*' )" 1107,"if six.PY2 is true,",if six . PY2 : 1108,self.waiting_readers is integer 0.,self . waiting_readers = 0 1109,"call the method node.render with an argument context, return the result.",return node . render ( context ) 1110,"call the os.path.splitex with argument name, assign the result to name and ext, respectively.","name , ext = os . path . splitext ( name )" 1111,"decorator stringfilter,",@ stringfilter 1112,"PATTERN is a string ""classdef< 'class' any+ ':'suite< any*funcdef< 'def' unifunc='__unicode__'parameters< '(' NAME ')' > any+ >any* > >"".","PATTERN = """""" classdef< 'class' any+ ':' suite< any* funcdef< 'def' unifunc='__unicode__' parameters< '(' NAME ')' > any+ > any* > > """"""" 1113,self.invoked_for_django is boolean True.,self . invoked_for_django = True 1114,substitute kwargs for media_attrs.,media_attrs = kwargs 1115,"define the method read with 3 arguments: self, unpacked list args and unpacked dictionary kwargs.","def read ( self , * args , ** kwargs ) :" 1116,"divide num by self._cull_frequency, floor the result and substitute it for cull_num.",cull_num = num // self . _cull_frequency 1117,define the function cleanup_url with an argument url.,def cleanup_url ( url ) : 1118,define the method streaming_content with 2 arguments: self and value.,"def streaming_content ( self , value ) :" 1119,import module re.,import re 1120,substitute compile_function for self.tags dictionary value under the name key.,self . tags [ name ] = compile_function 1121,"unpack the manifest.values function return value and feed it to the itertools.chain function, create_models is a set containing chanied list.",create_models = set ( itertools . chain ( * manifest . values ( ) ) ) 1122,"create the object WSGIServer with 2 arguments: get_internal_wsgi_application return value and unpacked dictionary wsgi_opts, call the method run on it.","WSGIServer ( get_internal_wsgi_application ( ) , ** wsgi_opts ) . run ( )" 1123,"return boolean True, otherwise return boolean False. define the function is_naive with an argument value.",def is_naive ( value ) : 1124,"app_name and model._meta.object_name, respectively. evaluate connection.creation.sql_create_model method with model, no_style() and seen_models as arguments,","sql , references = connection . creation . sql_create_model ( model , no_style ( ) , seen_models )" 1125,post is a string ''.,post = '' 1126,"context is an instance of a class Context, created with 2 arguments: dictionary created by apllying options to unpacked dictionary containing 3 entries:","context = Context ( dict ( options , ** { base_name : name , base_directory : top_dir , 'docs_version' : docs_version , } ) , autoescape = False )" 1127,"for every key in self.keyOrder,",for key in self . keyOrder : 1128,"increment current_len by integer 1,",current_len += 1 1129,derive the class SuspiciousMultipartForm from the SuspiciousOperation base class.,class SuspiciousMultipartForm ( SuspiciousOperation ) : 1130,from django.utils.http import urlquote into default name space.,from django . utils . http import urlquote 1131,from django.core.serializers.base import DeserializationError into default name space.,from django . core . serializers . base import DeserializationError 1132,from django.utils.deprecation import RemovedInDjango19Warning into default name space.,from django . utils . deprecation import RemovedInDjango19Warning 1133,"if self._wrapped is empty,",if self . _wrapped is empty : 1134,"call the function make_origin with 4 arguments: display_name, self.load_template_source, template_name and template_dirs,","origin = make_origin ( display_name , self . load_template_source , template_name , template_dirs )" 1135,"if self.file is false or self.file.closed is true, return boolean true, otherwise return boolean false.",return not self . file or self . file . closed 1136,import module warnings.,import warnings 1137,substitute pubid for self.pubid.,self . pubid = pubid 1138,"if length of bits is not integer 2 or 3,","if len ( bits ) not in ( 2 , 3 ) :" 1139,"return an instance of a class WithNode, created with 4 arguments: None, None, nodelist and extra_context as extra_context.","return WithNode ( None , None , nodelist , extra_context = extra_context )" 1140,"_iterlists is a string ""lists"".","_iterlists = ""lists""" 1141,from django.core.exceptions import ValidationError into default name space.,from django . core . exceptions import ValidationError 1142,define the method __reduce__ with an argument self.,def __reduce__ ( self ) : 1143,"message, settings.SERVER_EMAIL, list of second elements of a for every a in settings.Managers and connection set to connection, as arguments, assign the result to mail. if html_message is true,",if html_message : 1144,return boolean False.,return False 1145,"define the method __init__ with 4 arguments: self, name, regex and next set to None.","def __init__ ( self , name , regex , next = None ) :" 1146,"if pickle.PickleError exception is caught,",except pickle . PickleError : 1147,define the function get_public_serializer_formats.,def get_public_serializer_formats ( ) : 1148,"open writer.path file in write mode, with the file descriptor as fh, perform,","with open ( writer . path , ""wb"" ) as fh :" 1149,"define the function do_ifequal with 2 arguments: parser, token and negate.","def do_ifequal ( parser , token , negate ) :" 1150,define the method _assert_mutable with an argument self.,def _assert_mutable ( self ) : 1151,do nothing.,pass 1152,"if data is an instance of bytes,","if isinstance ( data , bytes ) :" 1153,"if OSError, renamed to e, is caught,",except OSError as e : 1154,"for every pythonrc in tuple containing 2 elements: return value of the function os.environ.get called with a string ""PYTHONSTARTUP"",","for pythonrc in ( os . environ . get ( ""PYTHONSTARTUP"" ) , '~/.pythonrc.py' ) :" 1155,"dest set to string 'interactive', default set to boolean True and help as 'Tells Django to NOT prompt the user for input of any kind.' call the method parser.add_argument with 5 arguments: string '--no-initial-data', action set to string 'store_false',","parser . add_argument ( '--no-initial-data' , action = 'store_false' , dest = 'load_initial_data' , default = True , help = 'Tells Django not to load any initial data after database synchronization.' )" 1156,return boolean False.,return False 1157,"for dirname in dirs,",for dirname in dirs [ : ] : 1158,"try,",try : 1159,"from the base class of the class SimpleCookie call the value_encode method with val as the argument, store the result in the val and encoded, respectively.","val , encoded = super ( SimpleCookie , self ) . value_encode ( val )" 1160,string 'A secure pseudo-random number generator is not available on your system. Falling back to Mersenne Twister.'. using_sysrandom is boolean False.,using_sysrandom = False 1161,"call the function module_to_dict with an argument settings._wrapped, substitute it for user_settings.",user_settings = module_to_dict ( settings . _wrapped ) 1162,"call the function force_text with an argument ttl, substitute the result for ttl.",ttl = force_text ( ttl ) 1163,append cleaned_lien to statement.,statement . append ( cleaned_line ) 1164,"if y and m and d are all true,",if y and m and d : 1165,from django.utils.deprecation import RemovedInDjango19Warning into default name space.,from django . utils . deprecation import RemovedInDjango19Warning 1166,"call the function date.strftime with an argument string '%s, %%d %s %%Y %%H:%%M:%%S ' formated with dow and month,","time_str = date . strftime ( '%s, %%d %s %%Y %%H:%%M:%%S ' % ( dow , month ) )" 1167,define the function u with an argument s.,def u ( s ) : 1168,"call the method __init__ from the base class of the class AssignmentNode, with 3 arguments: takes_context, args and kwargs.","super ( AssignmentNode , self ) . __init__ ( takes_context , args , kwargs )" 1169,"if exception ValueError or TypeError is raised,","except ( ValueError , TypeError ) :" 1170,__all__ is an list containing a string 'File'.,__all__ = [ 'File' ] 1171,return retval.,return retval 1172,"call the method self.stream.write with argument string '%s\n', with '%s' replaced with msg_data.",self . stream . write ( '%s\n' % msg_data ) 1173,substitute logging.NOTSET for logger.level.,logger . level = logging . NOTSET 1174,"otherwise if basetype equals a string 'message' and subtype equals a string 'rfc822',",elif basetype == 'message' and subtype == 'rfc822' : 1175,"and result of the function flatatt, called with an argument final_attrs. define the method value_from_datadict with 4 arguments: self, data, files and name.","def value_from_datadict ( self , data , files , name ) :" 1176,"raise an exception of the class ValueError with string ""Key '%s' not found"" as argument, '%s' is substituted for key.","raise ValueError ( ""Key '%s' not found"" % key )" 1177,"if exception SuspiciousOperation as e is caught,",except SuspiciousOperation as e : 1178,"call the function force_text with an argument ttl, substitute the result for ttl.",ttl = force_text ( ttl ) 1179,if the union of the kwargs and defaults dictionary keys converted into sets is not the same as the union of the defaults and prefix,if set ( kwargs . keys ( ) ) | set ( defaults . keys ( ) ) != set ( params ) | set ( defaults . keys ( ) ) | set ( prefix_args ) : 1180,"if self.asvar is None,",if self . asvar is None : 1181,"if s is an instance of six.text_type or Promise,","if isinstance ( s , ( six . text_type , Promise ) ) :" 1182,"call the method self.stdout.write with an argument string ""Installed %d object(s) from %d fixture(s)"",","self . stdout . write ( ""Installed %d object(s) from %d fixture(s)"" % ( self . loaded_object_count , self . fixture_count ) )" 1183,call the method t.led with 2 arguments left and self.,"left = t . led ( left , self )" 1184,"return an string '', where '%s' is replaced with self.parent_name.token.",return '' % self . parent_name . token 1185,"for every attachment in self.attachments,",for attachment in self . attachments : 1186,return value.,return value 1187,from django.core.cache.backends.base import BaseCache and DEFAULT_TIMEOUT into default name space.,"from django . core . cache . backends . base import BaseCache , DEFAULT_TIMEOUT" 1188,define initialization method __init__ with argument self.,def __init__ ( self ) : 1189,"call the function next with an argument cycle_iter, call the method resolve on the result with an argument context, substitute the result for value.",value = next ( cycle_iter ) . resolve ( context ) 1190,"call the method self.compile_function_error with 2 arguments token and e, if it evaluates to false,","if not self . compile_function_error ( token , e ) :" 1191,chunks is an empty list.,chunks = [ ] 1192,call the method logging.Handler.__init__ with an argument self.,logging . Handler . __init__ ( self ) 1193,"call the executor.loader.detect_conflicts, substitute the result fr conflicts.",conflicts = executor . loader . detect_conflicts ( ) 1194,_localtime is None.,_localtime = None 1195,"multiply self.number and self.paginator.per_page, return the result.",return self . number * self . paginator . per_page 1196,"assign the result to the sql and references, respectively. add model to seen_models set.",seen_models . add ( model ) 1197,define the method clean with arguments self and value.,"def clean ( self , value ) :" 1198,"if data is false and initial is true,",if not data and initial : 1199,"if not,",else : 1200,define the method url with arguments self and name.,"def url ( self , name ) :" 1201,"if package doesnt have an 'rindex' attribute,","if not hasattr ( package , 'rindex' ) :" 1202,raise an exception.,raise 1203,"call the method RE_DATE.match with an argument value, substitute the result for match.",match = RE_DATE . match ( value ) 1204,from django.db.migrations.writer import MigrationWriter into default name space.,from django . db . migrations . writer import MigrationWriter 1205,"if vale is None or an empty string,","if value in ( None , '' ) :" 1206,"msg is an string ""Unclosed tag '%s'. Looking for one of: %s "", where '%s' is replaced with command,","msg = ""Unclosed tag '%s'. Looking for one of: %s "" % ( command , ', ' . join ( parse_until ) )" 1207,"call the method apps.get_app_config with an argument app_label, substitute the result for app_config.",app_config = apps . get_app_config ( app_label ) 1208,define the method _iterkeys with an argument self.,def _iterkeys ( self ) : 1209,"get the value under the 'shutdown_message' key of the options dictionary, if it exists substitute it for shutdown_message,","shutdown_message = options . get ( 'shutdown_message' , '' )" 1210,return self.source.,return self . source 1211,"if f is None,",if f is None : 1212,default as an empty list and help as an string 'Locales to exclude. Default is none. Can be used multiple times.'. define the handle method with self class instance and dictionary **options as arguments.,"def handle ( self , ** options ) :" 1213,derive the class CommentNode from Node base class.,class CommentNode ( Node ) : 1214,from django.utils.encoding import force_text into default name space.,from django . utils . encoding import force_text 1215,"and third element of result of the function sys.exc_info. call the function import_module with an argument module_path, substitute the result for module.",module = import_module ( module_path ) 1216,return result.,return result 1217,substitute value under the name key of the lib.tags dictionary for value under the name key of the temp_lib.tags dictionary.,temp_lib . tags [ name ] = lib . tags [ name ] 1218,"if self.to_field is true,",if self . to_field : 1219,"from django.http.response import HttpResponse, StreamingHttpResponse, HttpResponseRedirect, HttpResponsePermanentRedirect,","from django . http . response import ( HttpResponse , StreamingHttpResponse , HttpResponseRedirect , HttpResponsePermanentRedirect , HttpResponseNotModified , HttpResponseBadRequest , HttpResponseForbidden , HttpResponseNotFound , HttpResponseNotAllowed , HttpResponseGone , HttpResponseServerError , Http404 , BadHeaderError , JsonResponse )" 1220,call the method handler.addQuickElement with 2 arguments: string 'rights' and value under the 'item_copyright' key of the item dictionary.,"handler . addQuickElement ( ""rights"" , item [ 'item_copyright' ] )" 1221,define the function byte2int with an argument bs.,def byte2int ( bs ) : 1222,"call the function lazy_number with 5 arguments: ngettext, str, singular set to singular, plural set to plural,","return lazy_number ( ngettext , str , singular = singular , plural = plural , number = number )" 1223,"for every k and v in return value of the method module.__dict__.items, only if result of the method omittable called with an argument k is false. derive the class Command from the BaseCommand base class.",class Command ( BaseCommand ) : 1224,call the method stream.unget with an argument chunk.,stream . unget ( chunk ) 1225,"opts.localized_fields, opts.labels, opts.help_texts and opts.error_messages, substitute the result for fields. for every k and v in return value of the function six.iteritems called with an argument fields, if n is false, append it to a list,","none_model_fields = [ k for k , v in six . iteritems ( fields ) if not v ]" 1226,"_func_defaults is a string ""func_defaults"".","_func_defaults = ""func_defaults""" 1227,"dest as a string 'locale', action as a string 'append' and help as a string, 'Creates or updates the message files for the given locale(s) (e.g. pt_BR). Can be used multiple times.'. call the method parser.add_argument with 5 arguments: string '--exclude', string '-x', default as a empty list,","parser . add_argument ( '--exclude' , '-x' , default = [ ] , dest = 'exclude' , action = 'append' , help = 'Locales to exclude. Default is none. Can be used multiple times.' )" 1228,"try,",try : 1229,"raise an ExternalReferenceForbidden exception with arguments context, base, sysid and pubid.","raise ExternalReferenceForbidden ( context , base , sysid , pubid )" 1230,"call the method connection.constraint_checks_disabled, with the result perform,",with connection . constraint_checks_disabled ( ) : 1231,"call the method expires.utcnow, subtract the result from expires, substitute the result for delta.",delta = expires - expires . utcnow ( ) 1232,"call the handle_filed method of the base class of the Serializer class, with arguments obj and field.","super ( Serializer , self ) . handle_field ( obj , field )" 1233,do nothing.,pass 1234,"if not,",else : 1235,"if not,",else : 1236,"call the Error function with 4 arguments, string ""%s was connected to the '%s' signal with a lazy reference to the '%s' sender,","errors . append ( Error ( ""%s was connected to the '%s' signal "" ""with a lazy reference to the '%s' sender, "" ""which has not been installed."" % ( description , name , '.' . join ( reference ) ) , obj = receiver . __module__ , hint = None , id = 'signals.E001' ) )" 1237,"call the method self._existing_object with an argument pk, substitute the result for value under the 'instance' key of kwargs.",kwargs [ 'instance' ] = self . _existing_object ( pk ) 1238,"if length of bits is lesser than integer 2,",if len ( bits ) < 2 : 1239,"call the method copy.deepcopy with 2 arguments: self._wrapped and memo, return the result.","return copy . deepcopy ( self . _wrapped , memo )" 1240,loaded_objects_in_fixture is integer 0.,loaded_objects_in_fixture = 0 1241,return result.,return result 1242,"call the method __init__ from the base class of the class RadioChoiceInput, with 2 arguments: unpacked list args,","super ( RadioChoiceInput , self ) . __init__ ( * args , ** kwargs )" 1243,substitute value for value under the key key of dictionary at last element of self.dicts.,self . dicts [ - 1 ] [ key ] = value 1244,from django.core.cache.backends.base import BaseCache and DEFAULT_TIMEOUT into default name space.,"from django . core . cache . backends . base import BaseCache , DEFAULT_TIMEOUT" 1245,"code set to string 'max_decimal_places' and params set to a dictionary with an entry: self.decimal_places for 'max'. if self.max_digits is not None and self.decimal_places is not None and whole_digits is grater than the difference of,",if ( self . max_digits is not None and self . decimal_places is not None and whole_digits > ( self . max_digits - self . decimal_places ) ) : 1246,"if value is false and self.required is true,",if not value and self . required : 1247,append character '/' to the base_url.,base_url += '/' 1248,"if dirname is true and dirname path doesnt exists,",if dirname and not os . path . exists ( dirname ) : 1249,define the method regex with an argument self.,def regex ( self ) : 1250,call the method parser.add_argument with arguments: string 'args' and nargs set to '*'.,"parser . add_argument ( 'args' , nargs = '*' )" 1251,"if plan_node is contained in loader.applied_migrations,",if plan_node in loader . applied_migrations : 1252,substitute the regex_compiled for value under the language_code key of the self._regex_dict dictionary.,self . _regex_dict [ language_code ] = regex_compiled 1253,set file pointer at the beginning of the self.file file.,self . file . seek ( 0 ) 1254,return self.__name.,return self . __name 1255,"call the method self.read, substitute the result or self._body.",self . _body = self . read ( ) 1256,"return result,",return result 1257,"assign the result to ctypes and opts. get the value under the 'boundary' key of the opts dictionary, substitute it for boundary.",boundary = opts . get ( 'boundary' ) 1258,"aise and exception InvalidCacheBackendError with string ""Could not find backend '%s': %s"" as argument, replace '%s' with backend and e, respectively.","raise InvalidCacheBackendError ( ""Could not find backend '%s': %s"" % ( backend , e ) )" 1259,"if not,",else : 1260,define the method save_existing_objects with 2 arguments: self and commit set to boolean True.,"def save_existing_objects ( self , commit = True ) :" 1261,from django.core.mail.utils import DNS_NAME into default name space.,from django . core . mail . utils import DNS_NAME 1262,needs_multipart_form is boolean True.,needs_multipart_form = True 1263,do nothing.,pass 1264,define the function indexbytes with 2 arguments buf and i.,"def indexbytes ( buf , i ) :" 1265,"call the function new_method_proxy with an argument getattr, substitute the result for __getattr__.",__getattr__ = new_method_proxy ( getattr ) 1266,"split first and second element of hextet into parts by ':', sum their lengths, substitute the result for sep.",sep = len ( hextet [ 0 ] . split ( ':' ) ) + len ( hextet [ 1 ] . split ( ':' ) ) 1267,define the method __contains__ with 2 arguments: self and item.,"def __contains__ ( self , item ) :" 1268,"split host from the right side into 2 parts at the ':', substitute the result for bits.","bits = host . rsplit ( ':' , 1 )" 1269,"try,",try : 1270,"perform the bitwise or operation on the next 6 operands pyinotify.IN_MODIFY pyinotify.IN_DELETE, pyinotify.IN_ATTRIB,",mask = ( pyinotify . IN_MODIFY | pyinotify . IN_DELETE | pyinotify . IN_ATTRIB | pyinotify . IN_MOVED_FROM | pyinotify . IN_MOVED_TO | pyinotify . IN_CREATE ) 1271,derive the class MiddlewareNotUsed from the Exception base class.,class MiddlewareNotUsed ( Exception ) : 1272,import module os.,import os 1273,"call the method self.configure_handler with an argument value under name key of handlers dictionary, substitute the result for handler.",handler = self . configure_handler ( handlers [ name ] ) 1274,"if not,",else : 1275,"call the cursor method on the value under the db key of connections dictionary, preform following with return value named cursor,",with connections [ db ] . cursor ( ) as cursor : 1276,"called with an argument kw, only if v is not None, substitute the result for kw. call the method datetime.time with an argument unpacked dictionary kw, return the result.",return datetime . time ( ** kw ) 1277,"sum _cached_filenames, new_filenames and _error_files, store the result in filelist.",filelist = _cached_filenames + new_filenames + _error_files 1278,"call the function allow_lazy with an argument strip_tags, substitute the result for strip_tags.",strip_tags = allow_lazy ( strip_tags ) 1279,substitute field.queryset for self.queryset.,self . queryset = field . queryset 1280,substitute klass.__dict__ for next.,next = advance_iterator 1281,call the function import_module with an argument templatetag_module.,import_module ( templatetag_module ) 1282,"define the method tag with 3 arguments: self, name set to None and compile_function set to None.","def tag ( self , name = None , compile_function = None ) :" 1283,"pop value under the 'ipv6' key of the kwargs dictionary, if it is true,","if kwargs . pop ( 'ipv6' , False ) :" 1284,define the method writer with an argument self.,def writer ( self ) : 1285,"p and errors set to string 'replace', for p in self.params. derive the class InvalidTemplateLibrary form the base class Exception.",class InvalidTemplateLibrary ( Exception ) : 1286,define the method render with 2 arguments: self and context.,"def render ( self , context ) :" 1287,substitute allow_empty_first_page for self.allow_empty_first_page.,self . allow_empty_first_page = allow_empty_first_page 1288,replace every occurrence of '\t' in s with '\\t'.,"s = s . replace ( '\t' , '\\t' )" 1289,needs_multipart_form is boolean False.,needs_multipart_form = False 1290,"call the method self.handle_starttag, with tag and attrs as the arguments.","self . handle_starttag ( tag , attrs )" 1291,"try,",try : 1292,update the self._catalog dictionary with other._catalog.,self . _catalog . update ( other . _catalog ) 1293,"concatenate opts.concrete_fields, sortable_virtual_fields and opts.many_to_many, for every f in sorted result,",for f in sorted ( opts . concrete_fields + sortable_virtual_fields + opts . many_to_many ) : 1294,if message is an instance of SafeData.,"if isinstance ( message , SafeData ) :" 1295,"if self.data and self.files are both False,",if not ( self . data or self . files ) : 1296,set filter_func objec attr attribute to value.,"setattr ( filter_func , attr , value )" 1297,"call the method nodelist.get_nodes_by_type with an argument ExtendsNode, if it evaluates to true,",if nodelist . get_nodes_by_type ( ExtendsNode ) : 1298,"try,",try : 1299,"call the method __deepcopy__ from the base class of the class MultiWidget, with an argument memo, substitute the result for obj.","obj = super ( MultiWidget , self ) . __deepcopy__ ( memo )" 1300,"if not,",else : 1301,"define the function sql_indexes with 3 arguments: app_config, style and connection.","def sql_indexes ( app_config , style , connection ) :" 1302,"if app_config.models_module is None,",if app_config . models_module is None : 1303,raise an NotImplementedError exception with an argument string 'subclasses of Origin must provide a reload() method'.,raise NotImplementedError ( 'subclasses of Origin must provide a reload() method' ) 1304,substitute kwargs for self.kwargs.,self . kwargs = kwargs 1305,return boolean True.,return True 1306,append the tempdir to self.paths_to_remove.,self . paths_to_remove . append ( tempdir ) 1307,"if fk.unique is boolean true,",if fk . unique : 1308,"otherwise returns s. call the method connection.cursor, with the result as cursor,",with connection . cursor ( ) as cursor : 1309,update fields dictionary with new_class.declared_fields.,fields . update ( new_class . declared_fields ) 1310,"append a tuple with 2 elements: f and f with first occurrence of the path replaced with an empty string, to self.choices.","self . choices . append ( ( f , f . replace ( path , """" , 1 ) ) )" 1311,use_null_fallback is boolean False.,use_null_fallback = False 1312,"call the method parser.compile_filter with an argument value, substitute the result for value under the name key of kwargs dictionary.",kwargs [ name ] = parser . compile_filter ( value ) 1313,derive the class SplitDateTimeField from the base class MultiValueField class.,class SplitDateTimeField ( MultiValueField ) : 1314,"call the method middleware.process_view with 4 arguments: request, view_func, args and kwargs, substitute the result for result.","result = middleware . process_view ( request , view_func , args , kwargs )" 1315,"and string 'ascii' and call the function to_bytes with 2 arguments: value and string 'latin-1', join the previous 2 results into a string, separated by ': ', append it to a list, substitute the resulting list for headers. join headers into a string, separated by string '\r\n'.",return b'\r\n' . join ( headers ) 1316,derive the class Http404 from the Exception base class.,class Http404 ( Exception ) : 1317,define the method media with an argument self.,def media ( self ) : 1318,"if data is an instance of datetime.datetime or datetime.time classes, and supports_microseconds field of self.field.widget is false,","if ( isinstance ( data , ( datetime . datetime , datetime . time ) ) and not getattr ( self . field . widget , 'supports_microseconds' , True ) ) :" 1319,from django.conf import settings into default name space.,from django . conf import settings 1320,value under the self key of state_frame dictionary is None.,state_frame [ self ] = None 1321,"error_msg is a string ""Invalid template name in 'extends' tag: %r."", where '%s' is replaced with parent.","error_msg = ""Invalid template name in 'extends' tag: %r."" % parent" 1322,"if option_value is None,",if option_value is None : 1323,derive the class LocalTimezone from the ReferenceLocalTimezone base class.,class LocalTimezone ( ReferenceLocalTimezone ) : 1324,"and autoescape as autoescape, use the result as an argument for the call to the function mark_safe, return the result. decorator function register.filter with an argument is_safe set to boolean False.",@ register . filter ( is_safe = False ) 1325,"otherwise if field_type equals a string 'IntegerField(' and connection.features.can_introspect_autofield is false,",elif field_type == 'IntegerField(' and not connection . features . can_introspect_autofield : 1326,"instantiate QueryDict class with 2 arguments: an empty string and encoding set to self._encoding, instantiate a class MultiValueDict, return them.","return QueryDict ( '' , encoding = self . _encoding ) , MultiValueDict ( )" 1327,define the method to_python with arguments self and value.,"def to_python ( self , value ) :" 1328,"and pk.rel.parent_link is true and function pk_is_not_editable called with an argument pk.rel.to._meta.pk evaluates to true, if function pk_is_not_editable called with an argument pk evaluates to true, or pk.name is not contained in form.fields,",if pk_is_not_editable ( pk ) or pk . name not in form . fields : 1329,"if match is true,",if match : 1330,"define function patch_cache_control, with response and dictionary set of arguments, kwargs, as arguments.","def patch_cache_control ( response , ** kwargs ) :" 1331,"define initialization method __init__ with self class instance, level, msg, hint defaulting to None, obj defaulting to None and if defaulting to None as arguments.","def __init__ ( self , level , msg , hint = None , obj = None , id = None ) :" 1332,"assign the bits elements to tag, this_value_expr, max_value_expr and max_width, respectively.","tag , this_value_expr , max_value_expr , max_width = bits" 1333,"remove the value under the 'using' key from the options dictionary, assign it to the db, if the entry doesnt exists,","db = options . pop ( 'using' , DEFAULT_DB_ALIAS )" 1334,"if filename is empty,",if not filename : 1335,"call the method __init__ from the base class of the class InlineForeignKeyField, with 2 arguments unpacked list args,","super ( InlineForeignKeyField , self ) . __init__ ( * args , ** kwargs )" 1336,define the method __init__ with 2 arguments: self and name.,"def __init__ ( self , name ) :" 1337,from django.core.exceptions import ImproperlyConfigured into default name space.,from django . core . exceptions import ImproperlyConfigured 1338,third element of the result of the function sys.exc_info. define the method __init__ with an argument self.,def xreadlines ( self ) : 1339,"for every v in value call the function conditional_escape with an argument v, append the result in a list, substitute the resulting list for value.",value = [ conditional_escape ( v ) for v in value ] 1340,derive the class TemplateEncodingError form the base class Exception.,class TemplateEncodingError ( Exception ) : 1341,"if version is None,",if version is None : 1342,"call the method self.xml.startElement with 2 arguments: string 'field' and a dictionary containing 2 entries: field.name for 'name',","self . xml . startElement ( ""field"" , { ""name"" : field . name , ""type"" : field . get_internal_type ( ) } )" 1343,substitute self.file for thefile.,thefile = self . file 1344,"call the method m.group with an argument string 'sec', convert the result into a string, substitute it for sec.",sec = int ( m . group ( 'sec' ) ) 1345,"substitute '%s' in a string ""Merging %s"" with app_label,","self . stdout . write ( self . style . MIGRATE_HEADING ( ""Merging %s"" % app_label ) )" 1346,"get opt attribute of the opts object, substitute it for value.","value = getattr ( opts , opt )" 1347,"for every basedir in basedirs,",for basedir in basedirs : 1348,"if file_or_path has an attribute 'read',","if hasattr ( file_or_path , 'read' ) :" 1349,"classmethod decorator,",@ classmethod 1350,define the function _replace_entity with an argument match.,def _replace_entity ( match ) : 1351,"call the method self.parse_file_upload with arguments self.META and data, assign the result to self._post and self._files.","self . _post , self . _files = self . parse_file_upload ( self . META , data )" 1352,"call the function get_bytes_from_wsgi with environ, string 'PATH_INFO' and character '/' as arguments, substitute the result for path_info.","path_info = get_bytes_from_wsgi ( environ , 'PATH_INFO' , '/' )" 1353,"if Exception exception is caught,",except Exception : 1354,"result of the method ProjectState.from_apps with an argument apps and result of the method InteractiveMigrationQuestioner, called with 2 arguments specified_apps set to app_labels and dry_run set to self.dry_run. if self.empty is true,",if self . empty : 1355,subcommand is a string 'help'.,subcommand = 'help' 1356,"dest as a string 'interactive', default set to boolean True, and help as a string 'Tells Django to NOT prompt the user for input of any kind.'. define the method handle with 3 arguments: self, unpacked list app_labels and unpacked dictionary options.","def handle ( self , * app_labels , ** options ) :" 1357,"raise an ValueError with an argument string ""'%s' has no field named '%s'."", with '%s' replaced with self.__class__.__name__ and field, respectively.","raise ValueError ( ""'%s' has no field named '%s'."" % ( self . __class__ . __name__ , field ) )" 1358,"call the method Model._meta.get_all_field_names, substitute the result for model_fields.",model_fields = Model . _meta . get_all_field_names ( ) 1359,"join p and cmd into a file path, substitute it for f.","f = os . path . join ( p , cmd )" 1360,"get the value under the field key of self.fields dictionary, substitute error_messages field of the result for error_messages.",error_messages = self . fields [ field ] . error_messages 1361,"call the method threading.RLock, substitute the result for self._lock.",self . _lock = threading . RLock ( ) 1362,from UserList import UserList into default namespace.,from UserList import UserList 1363,from django.http import Http404 into default name space.,from django . http import Http404 1364,"call the method self.create_token with 3 arguments: last_bit, tuple with 2 elements: upto and sum of upto and length of last_bit,","result . append ( self . create_token ( last_bit , ( upto , upto + len ( last_bit ) ) , False ) )" 1365,define class dummy.,class dummy : 1366,define __del__ method with self as the argument.,def __del__ ( self ) : 1367,substitute root for value under the NEXT key of the link dictionary.,link [ NEXT ] = root 1368,from django.apps import apps into default name space.,from django . apps import apps 1369,"if it does append it to targets list. if not,",else : 1370,"while i is smaller than l,",while i < l : 1371,define the method render with 2 arguments self and context.,"def render ( self , context ) :" 1372,define the method _cache with argument self.,def _cache ( self ) : 1373,"re.U and re.S, substitute the result for re_words. call the function re.compile with 2 arguments: raw string '<.*?>|(.)' and bitwise OR performed with 2 operands,","re_chars = re . compile ( r'<.*?>|(.)' , re . U | re . S )" 1374,return an empty dictionary.,return { } 1375,"call the method app_config.get_model with an argument model_label, substitute the result for model.",model = app_config . get_model ( model_label ) 1376,"if value is not contained in result,",if value is not result : 1377,"if tt.tm_isdst is greater than intger 0, return boolean True, otherwise return boolean False.",return tt . tm_isdst > 0 1378,define the method _get_choices with an argument self.,def _get_choices ( self ) : 1379,loader is instance of MigrationLoader initialized with connection as an argument.,loader = MigrationLoader ( connection ) 1380,"call the method termios.tcsetattr with fd, termios.TCSANOW and attr_list, as arguments.","termios . tcsetattr ( fd , termios . TCSANOW , attr_list )" 1381,"_urllib_robotparser_moved_attributes is a list containing an instance of MovedAttribute class, created with 3 argument: strings,","_urllib_robotparser_moved_attributes = [ MovedAttribute ( ""RobotFileParser"" , ""robotparser"" , ""urllib.robotparser"" ) , ]" 1382,"define the method render with 4 arguments: self, name, value and attrs set to None.","def render ( self , name , value , attrs = None ) :" 1383,"call the method cursor.close,",cursor . close ( ) 1384,"call the function endblock_re.match with an argument t.contents, substitute the result for endbmatch.",endbmatch = endblock_re . match ( t . contents ) 1385,for every key and value in parse_gsl with query_string is it exists or an empty string if not and keep_blank_values set to boolean True.,"for key , value in parse_qsl ( query_string or '' , keep_blank_values = True ) :" 1386,define the function get_resolver with an argument urlconf.,def get_resolver ( urlconf ) : 1387,"call the method apps.get_app_config with an argument model._met.app_label, substitute path field of the result for app_dir.",app_dir = apps . get_app_config ( model . _meta . app_label ) . path 1388,"if locations is not empty,",if locations : 1389,derive the class SignatureExpired from the BadSignature base class.,class SignatureExpired ( BadSignature ) : 1390,"define the method get with 3 arguments: self, key and default set to None.","def get ( self , key , default = None ) :" 1391,define the method_mark_post_parse_error with an argument self.,def _mark_post_parse_error ( self ) : 1392,call the method self.xml.endElement with an argument string 'field'.,"self . xml . endElement ( ""field"" )" 1393,call the __init__ method with unpacked list args and unpacked dictionary kwargs from the base class of the GenericIPAddressField class.,"super ( GenericIPAddressField , self ) . __init__ ( * args , ** kwargs )" 1394,from django.utils import six and timezone into default name space.,"from django . utils import six , timezone" 1395,return value.,return value 1396,"self.cache_suffix converted to a string, appended to the character '*', call os.path.join with self._dir and fname as arguments, filelist is a list containing all the previous results. return filelist.",return filelist 1397,"if self.verbosity is greater or equal to integer 1,",if self . verbosity >= 1 : 1398,"call the function StringIO with an argument stream_or_string, substitute the result for stream.",stream = StringIO ( stream_or_string ) 1399,from django.utils import archive into default name space.,from django . utils import archive 1400,"append string '-0000' to time_str, return the result.",return time_str + '-0000' 1401,"if self.allow_multiple_selected is false,",if not self . allow_multiple_selected : 1402,"raise an TemplateSyntaxError exception with an argument ""'%s' received unexpected keyword argument '%s'"",","raise TemplateSyntaxError ( ""'%s' received unexpected keyword argument '%s'"" % ( name , param ) )" 1403,"if not,",else : 1404,from django.apps import apps into default name space.,from django . apps import apps 1405,"instantiate Header class with localpart and encoding, convert it to a string, substitute the result for localpart.","localpart = str ( Header ( localpart , encoding ) )" 1406,derive the class FileInput from the Input base class.,class FileInput ( Input ) : 1407,d is an empty dictionary.,d = { } 1408,substitute it for value under the 'pk' key of data dictionary. return data.,return data 1409,"split content by newline character, for every line in result,","for line in content . split ( ""\n"" ) :" 1410,"if value is true,",if value : 1411,"property decorator,",@ property 1412,"unpacked list field_value as an argument, substitute the result for value. substitute value for value under the field.attname key of the data dictionary.",data [ field . attname ] = value 1413,"call the function six.text_type with s, encoding and errors as the arguments, substitute the result for s.","s = six . text_type ( s , encoding , errors )" 1414,raise an exception.,raise 1415,if app_config.models_module is None.,if app_config . models_module is None : 1416,"for every tag in open_tags,",for tag in open_tags : 1417,"_assertRegex is a strnig ""assertRegex"".","_assertRegex = ""assertRegex""" 1418,derive the class EmailBackend from the BaseEmailBackend base class.,class EmailBackend ( BaseEmailBackend ) : 1419,"call the method validators.RegexValidator with an argument regex set to regex, substitute it for self._regex_validator.",self . _regex_validator = validators . RegexValidator ( regex = regex ) 1420,"if error_messages is true and f.name is contained in error_messages,",if error_messages and f . name in error_messages : 1421,"call the method parser.add_argument with 4 arguments: string 'args', metavar set to 'app_label', nargs set to '+',","parser . add_argument ( 'args' , metavar = 'app_label' , nargs = '+' , help = 'One or more application label.' )" 1422,append i-th element of existing to child_loggers.,child_loggers . append ( existing [ i ] ) 1423,"call the mimetypes.guess_type with an argument filename, assign the result to the mimetype and _, respectively.","mimetype , _ = mimetypes . guess_type ( filename )" 1424,"call the function force_bytes with an argument secret, substitute the result for secret.",secret = force_bytes ( secret ) 1425,"call the function getargspec with an argument func, substitute the result for params, varargs, varkw and defaults.","params , varargs , varkw , defaults = getargspec ( func )" 1426,define the function javascript_quote with 2 arguments: s and quote_double_quotes set to boolean False.,"def javascript_quote ( s , quote_double_quotes = False ) :" 1427,"increment i by integer 1,.",i += 1 1428,"decorator deconstructible,",@ deconstructible 1429,break from this loop execution.,break 1430,define the method cleaned_data with an argument self.,def cleaned_data ( self ) : 1431,"break from the loop execution,",break 1432,"call the method self.make_key with key and version set to version as arguments, substitute the result for key.","key = self . make_key ( key , version = version )" 1433,"get the name key of the data dictionary, substitute it for value.",value = data . get ( name ) 1434,"call the timestamp.strftime with string '%Y%m%d%H%M%S' as an argument, substitute the result for changeset.",changeset = timestamp . strftime ( '%Y%m%d%H%M%S' ) 1435,"if val is None,",if val is None : 1436,define the method clear with argument self.,def clear ( self ) : 1437,"call the function six.reraise with 3 arguments: exc_type, exc_value and third element of the result of the method sys.exc_info.","six . reraise ( exc_type , exc_value , sys . exc_info ( ) [ 2 ] )" 1438,raise an ValidationError with 2 arguments: value under the 'required' key of the self.error_messages dictionary and code set to string 'required'.,"raise ValidationError ( self . error_messages [ 'required' ] , code = 'required' )" 1439,define the function get_default_timezone.,def get_default_timezone ( ) : 1440,define the method get_host with an argument self.,def get_host ( self ) : 1441,return nothing.,return 1442,"get config dictionary element under 'format' key, if it exists substitute it for fmt, if not, fmt is None.","fmt = config . get ( 'format' , None )" 1443,"if call to the method finder.find_module with an argument name evaluates to true,",if finder . find_module ( name ) : 1444,"ipv4_address is a string ""%d.%d.%d.%d"" formated with first 2 elements of seventh element of hextets converted into hexadecimal number,","ipv4_address = ""%d.%d.%d.%d"" % ( int ( hextets [ 6 ] [ 0 : 2 ] , 16 ) , int ( hextets [ 6 ] [ 2 : 4 ] , 16 ) , int ( hextets [ 7 ] [ 0 : 2 ] , 16 ) , int ( hextets [ 7 ] [ 2 : 4 ] , 16 ) , )" 1445,"for every elt in list_ call the method bytes_to_text with 2 argument: elt and self.encoding, append the result into a list,","list_ = [ bytes_to_text ( elt , self . encoding ) for elt in list_ ]" 1446,"return name, ser_fmt and cmp_fmt.","return name , ser_fmt , cmp_fmt" 1447,from django.utils.http import urlquote into default name space.,from django . utils . http import urlquote 1448,"if value.tzinfo is None and call to the method value.tzinfo.utcoffset called with an argument value evaluates to None,",return value . tzinfo is None or value . tzinfo . utcoffset ( value ) is None 1449,"if not,",else : 1450,append value under the key v of background dictionary to code_list.,code_list . append ( background [ v ] ) 1451,substitute self.parent_instance.pk for value under the 'initial' key of the kwargs dictionary.,"kwargs [ ""initial"" ] = self . parent_instance . pk" 1452,substitute greater element between integer 0 and end decremented by one for last.,"last = max ( 0 , end - 1 )" 1453,"define the method __init__ with 3 arguments: self, widgets and attrs set to None.","def __init__ ( self , widgets , attrs = None ) :" 1454,derive the class WSGIServer from simple_server.WSGIServer and object base classes.,"class WSGIServer ( simple_server . WSGIServer , object ) :" 1455,"if Exception, renamed to e, exception is caught,",except Exception as e : 1456,substitute self.state for state.,state = self . state 1457,"define the method __get__ with 3 arguments: self, obj and tp.","def __get__ ( self , obj , tp ) :" 1458,"for every tag in tags, are false, for every tag in tags, if return value of the method checks.tag_exists called with an argument tag, evaluates to false,",invalid_tag = next ( tag for tag in tags if not checks . tag_exists ( tag ) ) 1459,"if use_l10n is true, or if use_l10n is None and settings.USE_L10N is true,",if use_l10n or ( use_l10n is None and settings . USE_L10N ) : 1460,self.activated is boolean True.,self . activated = True 1461,return an empty string and an empty string.,"return '' , ''" 1462,"define the function wrapper with list args, and dictionary pair of values kwargs as arguments.","def wrapper ( * args , ** kwargs ) :" 1463,append string '_0' to id_.,id_ += '_0' 1464,define the method format_subject with 2 arguments: self and subject.,"def format_subject ( self , subject ) :" 1465,"call the method match.groupdict, substitute the result for kwargs.",kwargs = match . groupdict ( ) 1466,"for every dict_ in self.dicts,",for dict_ in self . dicts : 1467,substitute t.nodelist for self.nodelist.,self . nodelist = t . nodelist 1468,define the method __bool__ with an argument self.,def __bool__ ( self ) : 1469,import module sys.,import sys 1470,substitute number_value for kwargs dictionary value under the 'number' key.,kwargs [ 'number' ] = number_value 1471,return result,return result 1472,"if timezone has an attribute 'normalize',","if hasattr ( timezone , 'normalize' ) :" 1473,"call the function force_text with an argument value, substitute the result for value.",value = force_text ( value ) 1474,weight is an integer 0.,weight = 0 1475,from the base class of the SimpleCookie class call the method load with rawdata as argument.,"super ( SimpleCookie , self ) . load ( rawdata )" 1476,derive the class DefusedXmlException from the ValueError base class.,class DefusedXmlException ( ValueError ) : 1477,"if not,",else : 1478,"join bytes and self._leftover into a bytes string, substitute it for self._leftover.","self . _leftover = b'' . join ( [ bytes , self . _leftover ] )" 1479,"call the method f.formfield with an argument, unpacked dictionary kwargs, substitute the result for formfield.",formfield = f . formfield ( ** kwargs ) 1480,return nothing.,return 1481,define the function make_decorator with 2 arguments: unpacked list m_args and unpacked dictionary m_kwargs.,"def _make_decorator ( * m_args , ** m_kwargs ) :" 1482,define the _set_post method with self class instance and post as the arguments.,"def _set_post ( self , post ) :" 1483,"substitute the '%s' with table and list containing first element of cursor.fetchone method, respectively. define the method clear with argument self.",def clear ( self ) : 1484,"if safe is not None,",if safe is not None : 1485,"call the method self.compile_filter with an argument token.contents, substitute the result for filter_expression.",filter_expression = self . compile_filter ( token . contents ) 1486,"call the method widget_attrs with an argument widget, from the base class of the DecimalField class, substitute the result for attrs.","attrs = super ( DecimalField , self ) . widget_attrs ( widget )" 1487,"call the function bytes with an argument value, return the result.",return bytes ( value ) 1488,"if self.allow_folders is true,",if self . allow_folders : 1489,"get the value under the ns key of the resolver.app_dict dictionary, substitute it for app_list.",app_list = resolver . app_dict [ ns ] 1490,define the function activate with an argument timezone.,def activate ( timezone ) : 1491,"if not,",else : 1492,define the method writeString with 2 arguments self and encoding.,"def writeString ( self , encoding ) :" 1493,"if not,",else : 1494,choices is an property object of this class where _get_choices is a getter and _set_choices is a setter function.,"choices = property ( _get_choices , _set_choices )" 1495,define the method has_other_pages with an argument self.,def has_other_pages ( self ) : 1496,"append string "".moves.urllib_parse"" to __name__, use it as an key to get the value from the sys.modules dictionary, substitute it for parse.","parse = sys . modules [ __name__ + "".moves.urllib_parse"" ]" 1497,substitute save_m2m for form.save_m2m.,form . save_m2m = save_m2m 1498,"if not,",else : 1499,append templatetag_module to _templatetags_modules.,_templatetags_modules . append ( templatetag_module ) 1500,"call the function format_html_join twice, first time with 3 elements: an empty string, string ' {0}=""{1}""'","return ( format_html_join ( '' , ' {0}=""{1}""' , sorted ( attrs . items ( ) ) ) + format_html_join ( '' , ' {0}' , sorted ( boolean_attrs ) ) )" 1501,return self.,return self 1502,call the method self.can_write.release.,self . can_write . release ( ) 1503,rise an KeyError exception with an argument key.,raise KeyError ( key ) 1504,"for every arg in args,",for arg in args : 1505,define the method has_key with 2 arguments: self and key.,"def has_key ( self , key ) :" 1506,"left justify value under the 'microsecond' key of the kw dictionary, in the field of width 6, fill the rest with '0',","kw [ 'microsecond' ] = kw [ 'microsecond' ] . ljust ( 6 , '0' )" 1507,"call the function var.find with an argument: '_' appended to VARIABLE_ATTRIBUTE_SEPARATOR, if the result is greater than integer -1,",if var . find ( VARIABLE_ATTRIBUTE_SEPARATOR + '_' ) > - 1 or var [ 0 ] == '_' : 1508,"__all__ is an tuple with 3 elements: strings 'MultiPartParser', 'MultiPartParserError' and 'InputStreamExhausted'.","__all__ = ( 'MultiPartParser' , 'MultiPartParserError' , 'InputStreamExhausted' )" 1509,"join printable representation of d into a string separated with ', ', for every d in self.dicts, substitute the result for dictreprs.","dictreprs = ', ' . join ( repr ( d ) for d in self . dicts )" 1510,"otherwise, if field.rel is true and field.rel is an instance of models.ManyToOneRel,","elif field . rel and isinstance ( field . rel , models . ManyToOneRel ) :" 1511,"if text is an empty string and length of opts equals integer 1 and first element of opts equals string 'reset',",if text == '' and len ( opts ) == 1 and opts [ 0 ] == 'reset' : 1512,from django.utils.six.moves.urllib.parse import urljoin into default name space.,from django . utils . six . moves . urllib . parse import urljoin 1513,call the method self.xml.startElement with arguments string 'natural' and an empty dictionary.,"self . xml . startElement ( ""natural"" , { } )" 1514,"property decorator,",@ property 1515,"raise an ValidationError with 3 arguments: value under the 'invalid_choice' key of the self.error_messages dictionary,","raise ValidationError ( self . error_messages [ 'invalid_choice' ] , code = 'invalid_choice' , params = { 'value' : value } , )" 1516,call the self.delete method with key and version set to version as arguments.,"self . delete ( key , version = version )" 1517,"call the method normalize with sum of parent_pat and pat as an argument, substitute the result for new_matches.",new_matches = normalize ( parent_pat + pat ) 1518,yield value under key key of self dictionary.,yield self [ key ] 1519,substitute result for cache dictionary value under the key key.,cache [ key ] = result 1520,"get the value under the key key of the self.cookies dictionary, substitute max-age for 'max-age' key of the returned dictionary.",self . cookies [ key ] [ 'max-age' ] = max_age 1521,define the method __copy__ with an argument self.,def __copy__ ( self ) : 1522,from django.utils.functional import lazy into default name space.,from django . utils . functional import lazy 1523,"added to a tuple with an element year, substitute the result for s1. call the function _findall with 2 arguments: s1 and year converted into a string, substitute the result for sites1.","sites1 = _findall ( s1 , str ( year ) )" 1524,"for every middleware_method in self._request_middleware,",for middleware_method in self . _request_middleware : 1525,"'migrations. Unmigrated apps will also have their initial_data fixture reloaded. Does not achieve a ""fresh install"" state.' define the add_arguments with arguments self and parser.","def add_arguments ( self , parser ) :" 1526,substitute c_int64 for ULONG_PTR.,ULONG_PTR = c_int64 1527,"call the method language_code_re.search with an argument lang_code, if it evaluates to false,",if not language_code_re . search ( lang_code ) : 1528,"if s is an instance of bytes class,","if isinstance ( s , bytes ) :" 1529,for every accessor_name and object_list is return value of the method self.m2m_data.items.,"for accessor_name , object_list in self . m2m_data . items ( ) :" 1530,"if obj is an instance of datetime.datetime,","if isinstance ( obj , datetime . datetime ) :" 1531,"call the method handler.addQuickElement with 2 arguments: string 'pubDate' and result of the function rfc2822_date,","handler . addQuickElement ( ""pubDate"" , rfc2822_date ( item [ 'pubdate' ] ) )" 1532,substitute file.mode for self.mode.,self . mode = file . mode 1533,"for every c in reversed order of candidate, convert c into an integer, sum all the results and substitute the result for evens.",evens = sum ( int ( c ) for c in candidate [ - 1 : : - 2 ] ) 1534,"if first and second element of sys.version_info are both equal to integer 3,","if sys . version_info [ : 2 ] >= ( 3 , 3 ) :" 1535,"join chunks into bytes string, substitute it for chunk.",chunk = b'' . join ( chunks ) 1536,"if not, call the function sys.getdefaultencoding and substitute the result for fs_encoding. app_template_dirs is an empty list.",app_template_dirs = [ ] 1537,define the method split_leading_dir with 2 arguments self and path.,"def split_leading_dir ( self , path ) :" 1538,"call the self._lock.reader method, with the result perform the following,",with self . _lock . reader ( ) : 1539,substitute self.default_locale_path for locale_dir.,locale_dir = self . default_locale_path 1540,output_transaction is boolean True.,output_transaction = True 1541,"obj is an instance of Model class, created with an unpacked dictionary data as argument.",obj = Model ( ** data ) 1542,"call the method apps.setdefault with 2 arguments: pattern and an empty list, append to the resulting object pattern.namespace.","apps . setdefault ( pattern . app_name , [ ] ) . append ( pattern . namespace )" 1543,"for every key and value in data,","for key , value in data :" 1544,"define the method configure_root with 3 arguments: self, config and incremental set to boolean False.","def configure_root ( self , config , incremental = False ) :" 1545,"value under the 'link' key of item dictionary for 'href' and ""alternate"" for ""rel"". if value under the 'pubdate' key of the item dictionary is not None,",if item [ 'pubdate' ] is not None : 1546,"call the function get_fixed_timezone with an argument offset, substitute the result for tzinfo.",tzinfo = get_fixed_timezone ( offset ) 1547,derive the class SuspiciousOperation from the Exception base class.,class SuspiciousOperation ( Exception ) : 1548,from django.conf import settings into default name space.,from django . conf import settings 1549,"try,",try : 1550,"if app_dir is a directory,",if os . path . isdir ( app_dir ) : 1551,define the function mark_for_escaping with an argument s.,def mark_for_escaping ( s ) : 1552,"if AttributeError exception is caught,",except AttributeError : 1553,"call the field.rel.to._meta.get_field method with an field.rel.field_name argument, on the result call the method to_python,",return field . rel . to . _meta . get_field ( field . rel . field_name ) . to_python ( field_value ) 1554,"define the method __init__ with 4 arguments: self, object_list, number, and paginator.","def __init__ ( self , object_list , number , paginator ) :" 1555,"called with the argument microseconds set to integer 0, on the result of the method value.time. return list containing 2 elements: None and None.","return [ None , None ]" 1556,"define the function timeuntil with 2 arguments, d and now defaulting to none.","def timeuntil ( d , now = None ) :" 1557,call the method validate with an argument value from the base class of the DecimalField class.,"super ( DecimalField , self ) . validate ( value )" 1558,"append rel_to to string 'ForeignKey(, substitute the result for field_type.",field_type = 'ForeignKey(%s' % rel_to 1559,define the function avoid_wrapping with an argument value.,def avoid_wrapping ( value ) : 1560,from django.core.serializers.python import Deserializer as PythonDeserializer into default name space.,from django . core . serializers . python import Deserializer as PythonDeserializer 1561,"if code is not None,",if code is not None : 1562,"raise an TemplateSyntaxError exception with an argument string ""'firstof' statement requires at least one argument"".","raise TemplateSyntaxError ( ""'firstof' statement requires at least one argument"" )" 1563,from importlib import find_loader as importlib_find.,from importlib import find_loader as importlib_find 1564,"substitute the result for args. call the function popen_wrapper with an argument args, assign the result to msgs, errors and status, respectively.","msgs , errors , status = popen_wrapper ( args )" 1565,"get the value under the 'id' key of the self.field.widget.attrs dictionary, if the key exists substitute it for id_,",id_ = self . field . widget . attrs . get ( 'id' ) or self . auto_id 1566,"return string """", where '%s' is replaced with self.name and '%r' with self.nodelist.","return """" % ( self . name , self . nodelist )" 1567,"if nodelist_empty is None,",if nodelist_empty is None : 1568,define the method __iter__ with an argument self.,def __iter__ ( self ) : 1569,from django.utils.module_loading import import_string into default name space.,from django . utils . module_loading import import_string 1570,"call the self.make_bytes method with an argument chunk, for every chunk in value join the result to a bytes string,",value = b'' . join ( self . make_bytes ( chunk ) for chunk in value ) 1571,"if value is contained in self.empty_values,",if value in self . empty_values : 1572,"and help is a string 'App label of the application to squash migrations for.'. call the method parser.add_argument with 2 arguments: string 'migration_name',","parser . add_argument ( 'migration_name' , help = 'Migrations will be squashed until and including this migration.' )" 1573,"define the function jython_reloader with main_func, args and kwargs as arguments.","def jython_reloader ( main_func , args , kwargs ) :" 1574,from django.test.signals import setting_changed into default name space.,from django . test . signals import setting_changed 1575,set the file position pointer at the beginning.,file . seek ( 0 ) 1576,return boolean False.,return False 1577,from django.template.base import TemplateDoesNotExist into default name space.,from django . template . base import TemplateDoesNotExist 1578,from django.http import HttpResponse into default name space.,from django . http import HttpResponse 1579,code is a string 'limit_value',code = 'limit_value' 1580,"call the method match.group with an argument integer 1, substitute the result for text.",text = match . group ( 1 ) 1581,"split header string at string '\r\n', for every line in result,",for line in header . split ( b'\r\n' ) : 1582,"call the method base.build_instance with arguments Model, data and db, substitute the result for obj.","obj = base . build_instance ( Model , data , db )" 1583,substitute _iterkeys for iterkeys.,iterkeys = _iterkeys 1584,return value.pk.,return value . pk 1585,append ch to quant.,quant . append ( ch ) 1586,define the method write with 2 arguments: self and val.,"def write ( self , val ) :" 1587,"and help as a string 'Nominates a database to print the SQL for. Defaults to the ""default"" database.', as arguments. define the method handle_app_config with self class instance, app_config and dictionary options as arguments.","def handle_app_config ( self , app_config , ** options ) :" 1588,return None.,return None 1589,substitute length of self.loopvars for num_loopvars.,num_loopvars = len ( self . loopvars ) 1590,deactivate and deactivate_all are lambda functions returning None.,deactivate = deactivate_all = lambda : None 1591,"move integer 1 left for 50 bits, substitute the result for PB.",PB = 1 << 50 1592,start is an integer 0.,start = 0 1593,"return the result. define the method render_option with 4 arguments: self, selected_choices, option_value and option_label.","def render_option ( self , selected_choices , option_value , option_label ) :" 1594,if it doesnt exists return otherwise. define the method __getitem__ with 2 arguments: self and key.,"def __getitem__ ( self , key ) :" 1595,"call the function get_language, substitute the result for language_code.",language_code = get_language ( ) 1596,"if bit starts with '_(""' ot bit starts with ""_('"",","if bit . startswith ( '_(""' ) or bit . startswith ( ""_('"" ) :" 1597,"return value of method url.hexdigest(), return value of method ctx.hexdigest, respectively, substitute it for cache_key. call the function _i18n_cache_key_suffix with request and cache_key as arguments, return the result.","return _i18n_cache_key_suffix ( request , cache_key )" 1598,"try,",try : 1599,"convert text without first element to hexadecimal integer, substitute it for c.","c = int ( text [ 1 : ] , 16 )" 1600,"if self.file_path file path exists and it is not a directory,",if os . path . exists ( self . file_path ) and not os . path . isdir ( self . file_path ) : 1601,"if value under the 'feed_url' key of the self.feed dictionary is not None,",if self . feed [ 'feed_url' ] is not None : 1602,return nothing.,return 1603,import module os.,import os 1604,"get _iterlists attribute of the class d, call the result with an argument unpacked dictionary kw, convert the result to a iterable,","return iter ( getattr ( d , _iterlists ) ( ** kw ) )" 1605,define the function wrapper with 2 arguments: unpacked list args and unpacked dictionary kwds.,"def wrapper ( * args , ** kwds ) :" 1606,"substitute '%r' in string ' pgettext(%r, %r) ' with message_context and result of the function join_tokens,","out . write ( ' pgettext(%r, %r) ' % ( message_context , join_tokens ( singular , trimmed ) ) )" 1607,"call the method self.getlist with an argument key, return the result.",return self . getlist ( key ) 1608,"create dictionary out of the unpacked dictionary options, using defaults._get_kwargs as a mapping function, substitute the result for defaults.","defaults = dict ( defaults . _get_kwargs ( ) , ** options )" 1609,"replace '%s' in the string 'handler%s' with view_type, use it as an name of the attribute to get from the self.urlconf_module,","callback = getattr ( self . urlconf_module , 'handler%s' % view_type , None )" 1610,"warn_msg is a string ""The translator-targeted comment '%s' (%sline %d) was ignored, because it wasn't the last item on the line."",","warn_msg = ( ""The translator-targeted comment '%s' "" ""(%sline %d) was ignored, because it wasn't the last item "" ""on the line."" ) % ( c , filemsg , comment_lineno_cache )" 1611,"get attribute piece of the self object, call it and use the result as an argument for the call to the function force_text,","pieces . append ( force_text ( getattr ( self , piece ) ( ) ) )" 1612,"format self.day_field string with name, use it as the key for the data dictionary, substitute the result for d.",d = data . get ( self . day_field % name ) 1613,"get the '_decorated_function' attribute from func object, if it exists substitute it for func.","func = getattr ( func , '_decorated_function' , func )" 1614,"call the function six.iteritems with an argument blocks, for every name and block in result,","for name , block in six . iteritems ( blocks ) :" 1615,import module django.,import django 1616,"call the method self.build_potfiles, substitute the result for potfiles.",potfiles = self . build_potfiles ( ) 1617,"call the method self.stdout.write with an argument string ""Checking %s for fixtures..."",","self . stdout . write ( ""Checking %s for fixtures..."" % humanize ( fixture_dir ) )" 1618,import module sys.,import sys 1619,"if length of bits is not equal to integer 3,",if len ( bits ) != 3 : 1620,"call the method self._archive.extractfile with an argument member, substitute the result for extracted.",extracted = self . _archive . extractfile ( member ) 1621,import module binascii.,import binascii 1622,"if not,",else : 1623,_get_files is getter function for FILES attribute of this class.,FILES = property ( _get_files ) 1624,return boolean True.,return True 1625,"with self.mutex perform,",with self . mutex : 1626,"call the function get_template with 2 arguments template_name and dirs, return the result.","return get_template ( template_name , dirs )" 1627,"l is lambda function with argument x, that calls the method self.make_key with x and version set to version as arguments.","l = lambda x : self . make_key ( x , version = version )" 1628,define the method upload_handlers with an argument self.,def upload_handlers ( self ) : 1629,"if AmbiguityError exception is caught,",except AmbiguityError : 1630,"if ValidationError, renamed to e, is caught,",except ValidationError as e : 1631,return an dictionary containing 1 entry: request for 'request'.,return { 'request' : request } 1632,"if AttributeError exception is caught,",except AttributeError : 1633,"call the function func with an argument unpacked list args, substitute the result for result.",result = func ( * args ) 1634,"format the string '

%s

' with the result, for every p in paras, substitute list of results for paras. if not,",else : 1635,from django.utils.encoding import force_text and DEFAULT_LOCALE_ENCODING into default name space.,"from django . utils . encoding import force_text , DEFAULT_LOCALE_ENCODING" 1636,"append field to problem_fields list for every model in apps.get_models with argument kwargs dictionary, only if app_configs is None,","problem_fields = [ field for model in apps . get_models ( ** kwargs ) if app_configs is None or model . _meta . app_config in app_configs for field in model . _meta . local_fields if isinstance ( field , models . BooleanField ) and not field . has_default ( ) ]" 1637,"get the value under the 'ignore' key of the options dictionary, substitute it for self.ignore.",self . ignore = options . get ( 'ignore' ) 1638,derive the class NowNode from Node base class.,class NowNode ( Node ) : 1639,"if StandardError, renamed to e, exception is caught,",except StandardError as e : 1640,"if msg is true,",if msg : 1641,_error_files is an empty list.,_error_files = [ ] 1642,return the result. decorator function register.filter with 2 arguments is_safe set to boolean True and needs_autoescape set to boolean True.,"@ register . filter ( is_safe = True , needs_autoescape = True )" 1643,"if filename is an instance of MIMEBase,","if isinstance ( filename , MIMEBase ) :" 1644,derive the class DebugNodeList from the NodeList base class.,class DebugNodeList ( NodeList ) : 1645,priority is floating point number 1.0.,priority = 1.0 1646,raise KeyError exception with an argument key.,raise KeyError ( key ) 1647,"formated with value under 'target' key of config dictionary and e. otherwise if klass is a subclass of logging.handlers.SMTPHandler and string 'mailhost' is contained in config,","elif issubclass ( klass , logging . handlers . SMTPHandler ) and 'mailhost' in config :" 1648,return maybe.,return maybe 1649,"with field_value as an argument, return the result. define the method _handle_m2m_field_node with arguments self, node and field.","def _handle_m2m_field_node ( self , node , field ) :" 1650,"call the method extend_nodelist with 3 arguments: nodelist, node and token, from the base class of the class DebugParser.","super ( DebugParser , self ) . extend_nodelist ( nodelist , node , token )" 1651,from django.utils.itercompat import is_iterable into default name space.,from django . utils . itercompat import is_iterable 1652,"call the method self.has_key with an argument key, return the result.",return self . has_key ( key ) 1653,"call the method __new__ from the base class of the class DeclarativeFieldsMetaclass, with 4 arguments: mcs, name, bases and attrs.","new_class = ( super ( DeclarativeFieldsMetaclass , mcs ) . __new__ ( mcs , name , bases , attrs ) )" 1654,skip this loop iteration.,continue 1655,"sum results of method self.save_existing_objects called with an argument commit and of method self.save_new_objects,",return self . save_existing_objects ( commit ) + self . save_new_objects ( commit ) 1656,"for every attr in tuple with 3 arguments: strings 'expects_localtime', 'is_safe' and 'needs_autoescape',","for attr in ( 'expects_localtime' , 'is_safe' , 'needs_autoescape' ) :" 1657,"for f in file_list,",for f in file_list : 1658,import module re.,import re 1659,"call the function get_standard_processors, append processors to the result, for every processor is the result,",for processor in get_standard_processors ( ) + processors : 1660,"call the function force_text with 3 arguments: old_field_name, self._encoding and errors as a string 'replace',","self . _files . appendlist ( force_text ( old_field_name , self . _encoding , errors = 'replace' ) , file_obj )" 1661,yield v.,yield v 1662,"if not,",else : 1663,"cc is a dictionary populated with items by calling function _to_tuple with el as an argument,",cc = dict ( _to_tuple ( el ) for el in cc_delim_re . split ( response [ 'Cache-Control' ] ) ) 1664,"split template once at the first character ':', convert the first element to lowercase and substitute it for scheme.","scheme = template . split ( ':' , 1 ) [ 0 ] . lower ( )" 1665,"ESCAPE_MAPPINGS is an dictionary with 10 initial entries: None for 'A', None for 'b', None for 'B', '0' for 'd', 'x' for 'D',","ESCAPE_MAPPINGS = { ""A"" : None , ""b"" : None , ""B"" : None , ""d"" : ""0"" , ""D"" : ""x"" , ""s"" : "" "" , ""S"" : ""x"" , ""w"" : ""x"" , ""W"" : ""!"" , ""Z"" : None , }" 1666,locales is a list with an element locale.,locales = [ locale ] 1667,"call the method parser.parse with an argument tuple with one element string 'endblock', substitute the result for nodelist.","nodelist = parser . parse ( ( 'endblock' , ) )" 1668,loaders is an empty list.,loaders = [ ] 1669,"register.tag decorator,",@ register . tag 1670,return client.,return client 1671,"call the function os.stat with an argument path, perform bitwise and on 2 operands st_mode field of the result and stat.S_IREAD,",if ( ( os . stat ( path ) . st_mode & stat . S_IREAD ) != stat . S_IREAD ) : 1672,define the method __delitem__ with 3 arguments: self and key.,"def __delitem__ ( self , key ) :" 1673,"call the method path.expanduser with an argument template, substitute it for expanded_template.",expanded_template = path . expanduser ( template ) 1674,"call the method field.widget.value_from_datadict with 3 arguments: self.data, self.files and return value of the method,","value = field . widget . value_from_datadict ( self . data , self . files , self . add_prefix ( name ) )" 1675,"define the function pbkdf2 with 5 arguments: password, salt, iterations, dklen set to integer 0 and digest set to None.","def pbkdf2 ( password , salt , iterations , dklen = 0 , digest = None ) :" 1676,define the function get_default_timezone_name.,def get_default_timezone_name ( ) : 1677,ch2 is None.,ch2 = None 1678,"define the method handle_uncaught_exception with self class instance, request, resolver and exec_info as arguments.","def handle_uncaught_exception ( self , request , resolver , exc_info ) :" 1679,substitute name for new_attr.,new_attr = name 1680,"convert config_string to lowercase and split it by ';' character, substitute the result for parts.",parts = config_string . lower ( ) . split ( ';' ) 1681,doublecolon_start is an integer -1.,doublecolon_start = - 1 1682,call the method self._start_relational_field with the argument field.,self . _start_relational_field ( field ) 1683,"call the method s.decode with encoding and errors as the arguments, substitute the result for s.","s = s . decode ( encoding , errors )" 1684,"if token equals a string ""not"" and i incremented by 1 is lesser than l,","if token == ""not"" and i + 1 < l and tokens [ i + 1 ] == ""in"" :" 1685,"get 'help_texts' attribute from the options object, if it exists substitute it for self.help_texts, if not self.help_texts is None.","self . help_texts = getattr ( options , 'help_texts' , None )" 1686,"if match is false or call to the method match.group with an argument integer 1 evaluates to boolean false,",if not match or not match . group ( 1 ) : 1687,"otherwise if ch equals a string 'P',",elif ch != 'P' : 1688,from django.core.wsgi import get_wsgi_application into default name space.,from django . core . wsgi import get_wsgi_application 1689,call the method self.appendlist with 2 arguments: return value of the function force_text with 3 arguments:,"self . appendlist ( force_text ( key , encoding , errors = 'replace' ) , force_text ( value , encoding , errors = 'replace' ) )" 1690,"while i is lesser than length of subject and i-th element of subject is not equal to p-th element of subject,",while i < len ( subject ) and subject [ i ] != subject [ p ] : 1691,"call the method value.replace with an arugment tzinfo set to None, return the result.",return value . replace ( tzinfo = None ) 1692,"get the type of self object, call the __bool__ method on the result with an argument self, return the result.",return type ( self ) . __bool__ ( self ) 1693,"call the method parser.add_argument with 5 arguments: string '--database', action set to string 'store', dest as a string 'database',","parser . add_argument ( '--database' , action = 'store' , dest = 'database' , default = DEFAULT_DB_ALIAS , help = 'Nominates a database to ' 'introspect. Defaults to using the ""default"" database.' )" 1694,substitute form.instance.pk for pk_value.,pk_value = form . instance . pk 1695,return a list with an element etag_str.,return [ etag_str ] 1696,"call the method readline.parse_and_bind with an argument string ""tab:complete"".","readline . parse_and_bind ( ""tab:complete"" )" 1697,"while ch is not equal to terminal_char,",while ch != terminal_char : 1698,return the value under the language_code key of the self._namespace_dict dictionary.,return self . _namespace_dict [ language_code ] 1699,append a tuple with 2 elements: obj and form.changed_data to self.changed_objects.,"self . changed_objects . append ( ( obj , form . changed_data ) )" 1700,"multiply delta.days, integer 24, integer 60 and integer 60 add delta.seconds to it, substitute the result for since.",since = delta . days * 24 * 60 * 60 + delta . seconds 1701,"create a tuple out of types of v, for every k and v in sorted_items, extend key tuple with the result.","key += tuple ( type ( v ) for k , v in sorted_items )" 1702,call the method translation.activate with an argument saved_locale.,translation . activate ( saved_locale ) 1703,"for every func in self.response_fixes,",for func in self . response_fixes : 1704,derive the class DebugNode from Node base class.,class DebugNode ( Node ) : 1705,import module os.,import os 1706,"try,",try : 1707,"if expires is lesser than now,",if expires < now : 1708,from django.utils.translation import ugettext and ungettext into default name space.,"from django . utils . translation import ugettext , ungettext" 1709,code set to an string 'invalid_choice' and dictionary params with an entry: value for 'value'. define the method valid_value with arguments self and value.,"def valid_value ( self , value ) :" 1710,"call the function mark_safe with an argument new_obj, substitute the result for obj.",obj = mark_safe ( new_obj ) 1711,"move integer 1 left for 30 bits, substitute the result for GB.",GB = 1 << 30 1712,return r.,return r 1713,from django.core.exceptions import ImproperlyConfigured into default name space.,from django . core . exceptions import ImproperlyConfigured 1714,call the function handle_app with 2 arguments: app_config.models_module and unpacked dictionary options.,"return handle_app ( app_config . models_module , ** options )" 1715,call the method self.validate_key with argument key.,self . validate_key ( key ) 1716,"decorator stringfilter,",@ stringfilter 1717,self.xml is a instance of SimplerXMLGenerator class created with 2 arguments: self.stream and value under the 'encoding' key of the,"self . xml = SimplerXMLGenerator ( self . stream , self . options . get ( ""encoding"" , settings . DEFAULT_CHARSET ) )" 1718,call the method self.validate_key with argument key.,self . validate_key ( key ) 1719,"dest set to string 'use_threading', default set to boolean True and help set to 'Tells Django to NOT use threading.'. call the method parser.add_argument with 5 arguments: string '--noreload', action set to string 'store_false',","parser . add_argument ( '--noreload' , action = 'store_false' , dest = 'use_reloader' , default = True , help = 'Tells Django to NOT use the auto-reloader.' )" 1720,"try,",try : 1721,import module cgi.,import cgi 1722,substitute error_messages for value under the 'error_messages' key of attrs dictionary.,attrs [ 'error_messages' ] = error_messages 1723,return output.,return output 1724,"define the method load_template with 3 arguments: self, template_name, template_dirs set to None.","def load_template ( self , template_name , template_dirs = None ) :" 1725,"join all of the results into a string separated by newline character, return the result. define the method __str__ with an argument self.",def __str__ ( self ) : 1726,"call the method self.get_queryset, return the length of the result.",return len ( self . get_queryset ( ) ) 1727,"call the method compiled_parent._render with an argument context, return the result.",return compiled_parent . _render ( context ) 1728,substitute exception for self.exception.,self . exception = exception 1729,from django.core.files.base import File into default name space.,from django . core . files . base import File 1730,"get config dictionary element under 'handlers' key, if it exists substitute it for handlers, if not, handlers is EMPTY_DICT.","handlers = config . get ( 'handlers' , EMPTY_DICT )" 1731,"for every root in settings.ALLOWED_INCLUDE_ROOTS,",for root in settings . ALLOWED_INCLUDE_ROOTS : 1732,"call the method self.fields.values, for every field in result,",for field in self . fields . values ( ) : 1733,define the method O with an argument self.,def O ( self ) : 1734,"call the function mark_safe with an arguments: for every n in nodelist results of the function force_text called with an argument n, joined in a string, return the result.",return mark_safe ( '' . join ( force_text ( n ) for n in nodelist ) ) 1735,"and help is a string ""Only dump objects with given primary keys. Accepts a comma separated list of keys. "" ""This option will only work when you specify one model."". call the method parser.add_argument with 5 arguments: string '-o', string '--output', default is None, dest set to string 'output',","parser . add_argument ( '-o' , '--output' , default = None , dest = 'output' , help = 'Specifies file to which the output is written.' )" 1736,raise an NotImplementedError exception with argument string 'subclasses of Storage must provide a listdir() method'.,raise NotImplementedError ( 'subclasses of Storage must provide a listdir() method' ) 1737,"if is_templatized is true,",if is_templatized : 1738,import module sys.,import sys 1739,want_unicode is boolean True.,want_unicode = True 1740,_format_cache is an empty dictionary.,_format_cache = { } 1741,"if ret equals to integer 0, return boolean True, otherwise return boolean False.",return ( ret == 0 ) 1742,self.message_context is None.,self . message_context = None 1743,"result of the call to the function _ with an argument string 'Tue' for 1, result of the call to the function _ with an argument string 'Wed' for 2, result of the call to the function _ with an argument string 'Thu' for 3, result of the call to the function _ with an argument string 'Fri' for 4, result of the call to the function _ with an argument string 'Sat' for 5, and result of the call to the function _ with an argument string 'Sun' for 6. WEEKDAYS_REV is an dictionary with 7 entries: 0 for 'monday', 1 for 'tuesday', 2 for 'wednesday', 3 for 'thursday', 4 for 'friday', 5 for 'saturday' and 6 for 'sunday'.","WEEKDAYS_REV = { 'monday' : 0 , 'tuesday' : 1 , 'wednesday' : 2 , 'thursday' : 3 , 'friday' : 4 , 'saturday' : 5 , 'sunday' : 6 }" 1744,"for every _ and nodelist in self.conditions_nodelists,","for _ , nodelist in self . conditions_nodelists :" 1745,"if not,",else : 1746,val is None.,val = None 1747,"if USE_INOTIFY is true,",if USE_INOTIFY : 1748,"and '%(error)s' is replaced with return value of the force_text function called with an argument e, extend the top_errors with the result. call the function six.text_type with an argument bf, append the result to hidden_fields.",hidden_fields . append ( six . text_type ( bf ) ) 1749,substitute value for value. return value converted into a boolean.,return bool ( value ) 1750,"from django.utils.six.moves.urllib.parse import parse_qsl, urlencode, quote, urljoin and urlsplit into default name space.","from django . utils . six . moves . urllib . parse import parse_qsl , urlencode , quote , urljoin , urlsplit" 1751,"call the method self.xml.startElement with 2 arguments: string 'field' and dictionary containing 3 entries: field.name for 'name',","self . xml . startElement ( ""field"" , { ""name"" : field . name , ""rel"" : field . rel . __class__ . __name__ , ""to"" : smart_text ( field . rel . to . _meta ) , } )" 1752,"from django.db import connections, router, transaction and DEFAULT_DB_ALIAS into default name space.","from django . db import connections , router , transaction , DEFAULT_DB_ALIAS" 1753,increment self.active_readers by t.,self . active_readers += t 1754,"call the method to_python with an argument value from the base class of the DateField class, return the result.","return super ( DateField , self ) . to_python ( value )" 1755,define the method _get_scheme with an argument self.,def _get_scheme ( self ) : 1756,self.loaded_object_count is integer 0.,self . loaded_object_count = 0 1757,"and i is greater than or equal to self.min_num, value under the 'empty_permitted' key of the defaults dictionary is boolean True.",defaults [ 'empty_permitted' ] = True 1758,raise an TemplateDoesNotExist exception.,raise TemplateDoesNotExist 1759,replace every occurrence of '\\' in s with '\\\\'.,"s = s . replace ( '\\' , '\\\\' )" 1760,"if identity lambda function returns false, substitute the x for capfirst, if not call the function force_text with an argument x,",capfirst = lambda x : x and force_text ( x ) [ 0 ] . upper ( ) + force_text ( x ) [ 1 : ] 1761,"call the method self.data.isoformat, return the result.",return self . data . isoformat ( ) 1762,"call the method __deepcopy__ with an argument memo, from the base class of the class MultiValueField, substitute the result for result.","result = super ( MultiValueField , self ) . __deepcopy__ ( memo )" 1763,"otherwise if count is greater than integer 1,",elif count > 1 : 1764,"substitute '%s' in a string "" - %s\n"" with return value of the operation.describe method, write the result to self.stdout.","self . stdout . write ( "" - %s\n"" % operation . describe ( ) )" 1765,return the printable representation of the self object converted to a list.,return repr ( list ( self ) ) 1766,"python_2_unicode_compatible decorator,",@ python_2_unicode_compatible 1767,"if string '__str__' is not contained in __dict__ field of klass,",if '__str__' not in klass . __dict__ : 1768,"from . import Error, Tags and register into default name space.","from . import Error , Tags , register" 1769,"if self.data.minute equals integer 0 and self.data.hour equals integer 0,",if self . data . minute == 0 and self . data . hour == 0 : 1770,"join elements of comment_notes into a string, separated by whitespaces, append it to the string ' #', append the result to field_desc.",field_desc += ' # ' + ' ' . join ( comment_notes ) 1771,"if not,",else : 1772,return self.DSTDIFF.,return self . DSTDIFF 1773,"attrs as a dictionary with an entry: checkbox_id for 'id', substitute the result for value under the 'clear' key of the substitutions dictionary. format self.template_with_clear with substitutions, substitute the result for value under the 'clear_template' key of,",substitutions [ 'clear_template' ] = self . template_with_clear % substitutions 1774,call the traceback.print_exc method.,traceback . print_exc ( ) 1775,self.timezone is None.,self . timezone = None 1776,"call the method tpl.format with an arguments self.name, self.sysid and self.pubid.","return tpl . format ( self . name , self . sysid , self . pubid )" 1777,"if not,",else : 1778,"raise an NotImplementedError exception with argument string ""This backend doesn't support absolute paths."".","raise NotImplementedError ( ""This backend doesn't support absolute paths."" )" 1779,from . import six into default name space.,from . import six 1780,"if rhs is an instance of dict type and number is true,","if isinstance ( rhs , dict ) and number :" 1781,"get the value under the 'database' key of options dictionary, use it as a index to get connections list element, store it in connection.",connection = connections [ options [ 'database' ] ] 1782,"otherwise if cls._delegate_bytes is true,",elif cls . _delegate_bytes : 1783,"call the method password.translate with an argument hmac.trans_5C, update outer dictionary with the result.",outer . update ( password . translate ( hmac . trans_5C ) ) 1784,"use it to call the cgi.parse_header method, assign the result to the _ and content_params respectively. if string 'charset' is contained in content_params,",if 'charset' in content_params : 1785,define private method __str__ with argument self.,def __str__ ( self ) : 1786,"call the self._lock.writer method, with the result perform the following,",with self . _lock . writer ( ) : 1787,"if count of occurrence of '.' in ip_str is not equal to integer 3,",if ip_str . count ( '.' ) != 3 : 1788,"call the method self.dicts.pop, return the result.",return self . dicts . pop ( ) 1789,substitute value under the f.name key of the error_messages dictionary for value under the 'error_messages' key of kwargs dictionary.,kwargs [ 'error_messages' ] = error_messages [ f . name ] 1790,return val and encoded as a tuple.,"return val , encoded" 1791,"try,",try : 1792,"append tuple with 2 elements: command and token.source, append the result to self.command_stack.","self . command_stack . append ( ( command , token . source ) )" 1793,"for every character in name,",for character in name : 1794,define the function yesno with 2 arguments value and arg set to None.,"def yesno ( value , arg = None ) :" 1795,"define the method incr with 4 arguments, self class instance, key, delta defaulting to integer 1 and version defaulting to None.","def incr ( self , key , delta = 1 , version = None ) :" 1796,make a directory migrations_directory.,os . mkdir ( migrations_directory ) 1797,"value under the ORDERING_FIELD_NAME key of the form.fields is an instance of IntegerField class, created with 2 arguments:","form . fields [ ORDERING_FIELD_NAME ] = IntegerField ( label = _ ( 'Order' ) , required = False )" 1798,substitute value under the 'database' key of the options dictionary for database.,database = options . get ( 'database' ) 1799,"call the function six.text_type with an argument arg, append the result to '%', format the previous with value, return the result.","return ( ""%"" + six . text_type ( arg ) ) % value" 1800,call the hashlib.md5 fuction with force_bytes(key) as argument.,args = hashlib . md5 ( force_bytes ( key ) ) 1801,"defaults is an dictionary with 3 initial entries: self.auto_id for 'auto_id', result of the call to the method self.add_prefix,","defaults = { 'auto_id' : self . auto_id , 'prefix' : self . add_prefix ( i ) , 'error_class' : self . error_class , }" 1802,"if not,",else : 1803,"if not,",else : 1804,"if StopIteration exception,",except StopIteration :