mirror of
https://github.com/pyscript/pyscript.git
synced 2026-02-28 23:02:26 -05:00
fix more docs urls (#1882)
This commit is contained in:
@@ -5,7 +5,7 @@ const CLOSEBUTTON =
|
||||
|
||||
/**
|
||||
* These error codes are used to identify the type of error that occurred.
|
||||
* @see https://docs.pyscript.net/latest/reference/exceptions.html?highlight=errors
|
||||
* @see https://pyscript.github.io/docs/latest/reference/exceptions.html?highlight=errors
|
||||
*/
|
||||
export const ErrorCode = {
|
||||
GENERIC: "PY0000", // Use this only for development then change to a more specific error code
|
||||
|
||||
@@ -50,7 +50,7 @@ const inputFailure = `
|
||||
def input(prompt=""):
|
||||
raise Exception("\\n ".join([
|
||||
"input() doesn't work when PyScript runs in the main thread.",
|
||||
"Consider using the worker attribute: https://docs.pyscript.net/2023.11.2/user-guide/workers/"
|
||||
"Consider using the worker attribute: https://pyscript.github.io/docs/2023.11.2/user-guide/workers/"
|
||||
]))
|
||||
|
||||
builtins.input = input
|
||||
|
||||
Reference in New Issue
Block a user