id stringlengths 12 102 | prompt stringlengths 221 20.1M |
|---|---|
benedict.utils.type_util.is_json_serializable | You are a Python programmer working with a repository. Here is all the context you may find useful to complete the function:
#CURRENT FILE: python-benedict/benedict/utils/type_util.py
import pathlib
import re
from datetime import datetime
from decimal import Decimal
def is_list(val):
return isinstance(val, list)
... |
feedparser.urls.convert_to_idn | You are a Python programmer working with a repository. Here is all the context you may find useful to complete the function:
#CURRENT FILE: feedparser/feedparser/urls.py
import re
import urllib.parse
from .html import _BaseHTMLProcessor
def _urljoin(base, uri):
uri = _urifixer.sub(r'\1\3', uri)
try:
ur... |
mistune.toc.add_toc_hook | You are a Python programmer working with a repository. Here is all the context you may find useful to complete the function:
#FILE: mistune/src/mistune/util.py
def striptags(s: str):
return _striptags_re.sub('', s)
#CURRENT FILE: mistune/src/mistune/toc.py
from .util import striptags
def normalize_toc_item(md, to... |
mistune.plugins.table.table_in_quote | You are a Python programmer working with a repository. Here is all the context you may find useful to complete the function:
#CURRENT FILE: mistune/src/mistune/plugins/table.py
import re
from ..helpers import PREVENT_BACKSLASH
def render_table_row(renderer, text):
return '<tr>\n' + text + '</tr>\n'
def render_tab... |
mistune.plugins.table.table_in_list | You are a Python programmer working with a repository. Here is all the context you may find useful to complete the function:
#CURRENT FILE: mistune/src/mistune/plugins/table.py
import re
from ..helpers import PREVENT_BACKSLASH
def _process_thead(header, align):
headers = CELL_SPLIT.split(header)
aligns = CELL_... |
xmnlp.utils.parallel_handler | "You are a Python programmer working with a repository. Here is all the context you may find useful (...TRUNCATED) |
parsel.utils.shorten | "You are a Python programmer working with a repository. Here is all the context you may find useful (...TRUNCATED) |
parsel.xpathfuncs.set_xpathfunc | "You are a Python programmer working with a repository. Here is all the context you may find useful (...TRUNCATED) |
dominate.dom_tag._get_thread_context | "You are a Python programmer working with a repository. Here is all the context you may find useful (...TRUNCATED) |
dominate.util.system | "You are a Python programmer working with a repository. Here is all the context you may find useful (...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 3