Remove a specific symbol from a fn_table.
3946
def FilterFnTable(fn_table, symbol):
  """"""
  new_table = list()
  for entry in fn_table:
    # symbol[0] is a str with the symbol name
    if entry[0] != symbol:
      new_table.append(entry)
  return new_table
900464
function removePrefix(str, prefixToken) {
  const index =  str.indexOf(prefixToken);

  if (index > -1) {
    str = str.substr(index + prefixToken.length).trim();
  }
  return str;
}
1139144
def clean_float(v):
    """"""

    if v is None or not str(v).strip():
        return None

    return float(str(v).replace(',', ''))
1045601
def strip_pad(hdu):
    """"""
    
    l = hdu.header.ascardlist()
    d = []
    for index in range(len(l)):
        if l[index].key in __comment_keys and str(l[index])==__cfht_padding:
            d.append(index)
    d.reverse()
    for index in d:
        del l[index]
    return(0)
462764
def remove(self, name):
        ''' 

        '''
        try:
            del self.data[name]
        except (ValueError, KeyError):
            import warnings
            warnings.warn("Unable to find column '%s' in data source" % name)
1046062
def invalidate(*tables, **kwargs):
    """"""
    backend = get_backend()
    db = kwargs.get('using', 'default')

    if backend._patched:
        for t in map(resolve_table, tables):
            backend.keyhandler.invalidate_table(t, db)
453487
public static function stripPrefix($table, $prefix = null)
    {
        $prefix = $prefix ?: Ioc::getDatabase()->getPrefix();

        $num = strlen($prefix);

        if (substr($table, 0, $num) == $prefix) {
            $table = '#__' . substr($table, $num);
        }

        return $table;
    }
456057
def remove_diacritics(self_or_cls, identifier):
        
        chars = ''
        for c in identifier:
            replacement = unicodedata.normalize('NFKD', c).encode('ASCII', 'ignore')
            if replacement != '':
                chars += bytes_to_unicode(replacement)
            else:
                chars += c
        return chars
438529
def _remove_builtin_prefix(name):
    """"""
    if name.startswith('builtins.'):
        return name[len('builtins.'):]
    elif name.startswith('__builtin__.'):
        return name[len('__builtin__.'):]
    return name
617539
public void remove(Symbol sym) {
            Assert.check(shared == 0);
            Entry e = lookup(sym.name, candidate -> candidate == sym);
            if (e.scope == null) return;

            // remove e from table and shadowed list;
            int i = getIndex(sym.name);
            Entry te = table[i];
            if (te == e)
                table[i] = e.shadowed;
            else while (true) {
                if (te.shadowed == e) {
                    te.shadowed = e.shadowed;
                    break;
                }
                te = te.shadowed;
            }

            // remove e from elems and sibling list
            te = elems;
            if (te == e)
                elems = e.sibling;
            else while (true) {
                if (te.sibling == e) {
                    te.sibling = e.sibling;
                    break;
                }
                te = te.sibling;
            }

            removeCount++;

            //notify listeners
            listeners.symbolRemoved(sym, this);
        }
10497
function cleanTables(font) {
            delete font.readOptions;
            delete font.tables;
            delete font.hmtx;
            delete font.post.glyphNameIndex;
            delete font.post.names;
            delete font.subsetMap;

            // 删除无用的表
            var cff = font.CFF;
            delete cff.glyf;
            delete cff.charset;
            delete cff.encoding;
            delete cff.gsubrs;
            delete cff.gsubrsBias;
            delete cff.subrs;
            delete cff.subrsBias;
        }
558102
def remove_value(self, name):
        """"""
        code = u"get_ipython().kernel.remove_value('%s')" % name
        if self._reading:
            self.kernel_client.input(u'!' + code)
        else:
            self.silent_execute(code)
646437
def wipe_table(self, table: str) -> int:
        """"""
        sql = "DELETE FROM " + self.delimit(table)
        return self.db_exec(sql)
580454
public void delete(final PutFlags... f) {
    if (SHOULD_CHECK) {
      checkNotClosed();
      txn.checkReady();
      txn.checkWritesAllowed();
    }
    final int flags = mask(f);
    checkRc(LIB.mdb_cursor_del(ptrCursor, flags));
  }
1243706
def remove_col(self, col_num):
        
        label_value = self.GetColLabelValue(col_num).strip('**').strip('^^')
        self.col_labels.remove(label_value)
        del self.table.dataframe[label_value]
        result = self.DeleteCols(pos=col_num, numCols=1, updateLabels=True)
        self.size_grid()
        return result
610260
public void removeTextSymbolizersWrapper() {
        List<SymbolizerWrapper> removeSW = new ArrayList<SymbolizerWrapper>();
        List<Symbolizer> removeS = new ArrayList<Symbolizer>();

        List<Symbolizer> symbolizers = rule.symbolizers();
        for( SymbolizerWrapper symbolizerWrapper : symbolizersWrapperList ) {
            if (symbolizerWrapper.isTextSymbolizer()) {
                Symbolizer symbolizer = symbolizerWrapper.getSymbolizer();
                removeSW.add(symbolizerWrapper);
                removeS.add(symbolizer);
            }
        }

        symbolizersWrapperList.removeAll(removeSW);
        symbolizers.removeAll(removeS);
    }
164453
def replace_symbol_to_no_symbol(pinyin):
    """"""
    def _replace(match):
        symbol = match.group(0)  # 带声调的字符
        # 去掉声调: a1 -> a
        return RE_NUMBER.sub(r'', PHONETIC_SYMBOL_DICT[symbol])

    # 替换拼音中的带声调字符
    return RE_PHONETIC_SYMBOL.sub(_replace, pinyin)