Home
last modified time | relevance | path

Searched refs:Raise (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/python/Doc/c-api/
Dset.rst91 success or ``NULL`` on failure. Raise :exc:`TypeError` if *iterable* is not
100 set on success or ``NULL`` on failure. Raise :exc:`TypeError` if *iterable* is
126 convert unhashable sets into temporary frozensets. Raise a :exc:`TypeError` if
127 the *key* is unhashable. Raise :exc:`PyExc_SystemError` if *anyset* is not a
136 success or ``-1`` on failure. Raise a :exc:`TypeError` if the *key* is
137 unhashable. Raise a :exc:`MemoryError` if there is no room to grow. Raise a
149 error is encountered. Does not raise :exc:`KeyError` for missing keys. Raise a
152 temporary frozensets. Raise :exc:`PyExc_SystemError` if *set* is not an
159 object from the *set*. Return ``NULL`` on failure. Raise :exc:`KeyError` if the
160 set is empty. Raise a :exc:`SystemError` if *set* is not an instance of
Dlong.rst122 Raise :exc:`OverflowError` if the value of *obj* is out of range for a
163 Raise :exc:`OverflowError` if the value of *obj* is out of range for a
206 Raise :exc:`OverflowError` if the value of *pylong* is out of range for a
221 Raise :exc:`OverflowError` if the value of *pylong* is out of range for a
237 Raise :exc:`OverflowError` if the value of *pylong* is out of range for a
252 Raise :exc:`OverflowError` if the value of *pylong* is out of range for an
306 Raise :exc:`OverflowError` if the value of *pylong* is out of range for a
Dcodec.rst17 Return 0 on success. Raise an exception and return -1 on error.
108 Raise *exc* as an exception.
Dobject.rst80 *v*. Raise an exception and return ``-1`` on failure;
91 *v*. Raise an exception and return ``-1`` on failure;
332 Map the object *key* to the value *v*. Raise an exception and
Dconversion.rst58 If ``endptr`` is ``NULL``, convert the whole string. Raise
/third_party/python/Doc/library/
Dzipimport.rst123 Return the code object for the specified module. Raise
129 Return the data associated with *pathname*. Raise :exc:`OSError` if the
139 was imported. Raise :exc:`ZipImportError` if the module couldn't be
147 Return the source code for the specified module. Raise
155 Return ``True`` if the module specified by *fullname* is a package. Raise
Dtelnetlib.rst78 bytes. Raise :exc:`EOFError` if the connection is closed and no cooked data
97 Raise :exc:`EOFError` if connection closed and no cooked data available.
106 Raise :exc:`EOFError` if connection closed and no cooked data available.
115 Raise :exc:`EOFError` if connection closed and no data available. Return
124 Raise :exc:`EOFError` if connection closed and no data available. Return
Dbdb.rst138 Raise a :exc:`BdbQuit` exception if the :attr:`Bdb.quitting` flag is set
146 Raise a :exc:`BdbQuit` exception if the :attr:`Bdb.quitting` flag is set
154 Raise a :exc:`BdbQuit` exception if the :attr:`Bdb.quitting` flag is set
162 Raise a :exc:`BdbQuit` exception if the :attr:`Bdb.quitting` flag is set
Dos.path.rst90 *paths*. Raise :exc:`ValueError` if *paths* contain both absolute
211 the number of seconds since the epoch (see the :mod:`time` module). Raise
219 Raise :exc:`OSError` if the file does not exist or is inaccessible.
230 the :mod:`time` module). Raise :exc:`OSError` if the file does not exist or
239 Return the size, in bytes, of *path*. Raise :exc:`OSError` if the file does
Dhttp.cookies.rst219 *values*. Raise an error if any of the keys in the *values* dict is not a
236 Raise an error if key is not a valid :rfc:`2109` attribute, otherwise
Dmarshal.rst95 value must be a supported type. Raise a :exc:`ValueError` exception if value
Dsunau.rst191 Raise an error.
Dtarfile.rst66 | | Raise an :exc:`FileExistsError` exception |
70 | | Raise an :exc:`FileExistsError` exception |
74 | | Raise an :exc:`FileExistsError` exception |
78 | | Raise an :exc:`FileExistsError` exception |
/third_party/python/Python/
Dast.c784 if (stmt->v.Raise.exc) { in validate_stmt()
785 ret = validate_expr(state, stmt->v.Raise.exc, Load) && in validate_stmt()
786 (!stmt->v.Raise.cause || validate_expr(state, stmt->v.Raise.cause, Load)); in validate_stmt()
789 if (stmt->v.Raise.cause) { in validate_stmt()
Dsymtable.c1334 if (s->v.Raise.exc) { in symtable_visit_stmt()
1335 VISIT(st, expr, s->v.Raise.exc); in symtable_visit_stmt()
1336 if (s->v.Raise.cause) { in symtable_visit_stmt()
1337 VISIT(st, expr, s->v.Raise.cause); in symtable_visit_stmt()
Dast_opt.c737 CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.exc); in astfold_stmt()
738 CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.cause); in astfold_stmt()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/
Dtemplate_1-1.in18 3. Raise %%MYSIG%%.
Dtemplate_23-1.in99 /* Raise the signal again. It should be masked */
/third_party/markupsafe/
DCHANGES.rst17 - Raise error on missing single placeholder during string
/third_party/python/Misc/NEWS.d/
D3.7.0b4.rst7 Raise a SyntaxError for ``async with`` and ``async for`` statements outside
257 Raise RuntimeError when ``executor.submit`` is called during interpreter
D3.6.0b2.rst228 Raise DeprecationWarning when async and await keywords are used as
653 Raise RuntimeError when transport's FD is used with add_reader, add_writer,
/third_party/python/Parser/
DPython.asdl41 | Raise(expr? exc, expr? cause)
/third_party/python/Lib/test/
Dtest_ast.py801 node = ast.Raise(lineno=3, col_offset=4)
808 node = ast.Raise(exc=ast.Name(id='e', ctx=ast.Load()), lineno=3, col_offset=4)
821 node = ast.Raise(cause=ast.Name(id='e', ctx=ast.Load()))
1263 r = ast.Raise(None, ast.Num(3))
1265 r = ast.Raise(ast.Name("x", ast.Store()), None)
1267 r = ast.Raise(ast.Num(4), ast.Name("x", ast.Store()))
Dtest_unparse.py324 self.check_invalid(ast.Raise(exc=None, cause=ast.Name(id="X")))
/third_party/typescript/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with files options/
Dtsconfig.json92 …// "noUnusedParameters": true, /* Raise an error when a function parameter i…

123456