parameters: (self, strids)
return_statement: return (out.get('y'), out.get('m'), out.get('d'))
docstring: Try to resolve the identities of year/month/day elements using
          ystridx, mstridx, and dstridx, if enough of these are specified.
docstring_summary: Try to resolve the identities of year/month/day elements using
          ystridx, mstridx, and dstridx, if enough of these are specified.
docstring_tokens: Try to resolve the identities of year / month / day elements using ystridx mstridx and dstridx if enough of these are specified .
function: def _resolve_from_stridxs(self, strids):
          """
          Try to resolve the identities of year/month/day elements using
          ystridx, mstridx, and dstridx, if enough of these are specified.
          """
          if len(self) == 3 and len(strids) == 2:
              # we can back out the remaining stridx value
              missing = [x for x in range(3) if x not in strids.values()]
              key = [x for x in ['y', 'm', 'd'] if x not in strids]
              assert len(missing) == len(key) == 1
              key = key[0]
              val = missing[0]
              strids[key] = val
  
          assert len(self) == len(strids)  # otherwise this should not be called
          out = {key: self[strids[key]] for key in strids}
          return (out.get('y'), out.get('m'), out.get('d'))
function_tokens: def _resolve_from_stridxs ( self , strids ) : if len ( self ) == 3 and len ( strids ) == 2 : # we can back out the remaining stridx value missing = [ x for x in range ( 3 ) if x not in strids . values ( ) ] key = [ x for x in [ 'y' , 'm' , 'd' ] if x not in strids ] assert len ( missing ) == len ( key ) == 1 key = key [ 0 ] val = missing [ 0 ] strids [ key ] = val assert len ( self ) == len ( strids ) # otherwise this should not be called out = { key : self [ strids [ key ] ] for key in strids } return ( out . get ( 'y' ) , out . get ( 'm' ) , out . get ( 'd' ) )