id
int64
1
6.07M
name
stringlengths
1
295
code
stringlengths
12
426k
language
stringclasses
1 value
source_file
stringlengths
5
202
start_line
int64
1
158k
end_line
int64
1
158k
repo
dict
6,071,001
__init__
def __init__(self, message: str, traceback: Any) -> None: self.message = message self.traceback = traceback
python
python-3.10.8.amd64/Lib/site-packages/sphinx/errors.py
100
102
{ "name": "PortablePy/3.10.8.0", "url": "https://github.com/PortablePy/3.10.8.0.git", "license": "NOASSERTION", "stars": 0, "forks": 0 }
6,071,002
__str__
def __str__(self) -> str: return self.message
python
python-3.10.8.amd64/Lib/site-packages/sphinx/errors.py
104
105
{ "name": "PortablePy/3.10.8.0", "url": "https://github.com/PortablePy/3.10.8.0.git", "license": "NOASSERTION", "stars": 0, "forks": 0 }
6,071,003
__str__
def __str__(self) -> str: res = self.args[0] if len(self.args) > 1: res += ' (exception was: %r)' % self.args[1] return res
python
python-3.10.8.amd64/Lib/site-packages/sphinx/errors.py
111
115
{ "name": "PortablePy/3.10.8.0", "url": "https://github.com/PortablePy/3.10.8.0.git", "license": "NOASSERTION", "stars": 0, "forks": 0 }
6,071,004
__init__
def __init__(self, dest: str = 'html', stylename: str = 'sphinx', latex_engine: Optional[str] = None) -> None: self.dest = dest self.latex_engine = latex_engine style = self.get_style(stylename) self.formatter_args: Dict[str, Any] = {'style': style} if dest == '...
python
python-3.10.8.amd64/Lib/site-packages/sphinx/highlighting.py
83
94
{ "name": "PortablePy/3.10.8.0", "url": "https://github.com/PortablePy/3.10.8.0.git", "license": "NOASSERTION", "stars": 0, "forks": 0 }