Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8c2c3d30
Commit
8c2c3d30
authored
Oct 06, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the documentation to reflect the changes to ReferenceError.
parent
df5cfd88
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
Doc/lib/libexcs.tex
Doc/lib/libexcs.tex
+11
-0
Doc/lib/libweakref.tex
Doc/lib/libweakref.tex
+2
-1
No files found.
Doc/lib/libexcs.tex
View file @
8c2c3d30
...
...
@@ -237,6 +237,17 @@ Raised when an \keyword{assert} statement fails.
typical applications prefer to drop bits than raise an exception.
\end{excdesc}
\begin{excdesc}
{
ReferenceError
}
This exception is raised when a weak reference proxy, created by the
\function
{
\refmodule
{
weakref
}
.proxy()
}
function, is used to access
an attribute of the referent after it has been garbage collected.
For more information on weak references, see the
\refmodule
{
weakref
}
module.
\versionadded
[Previously known as the
\exception
{
\refmodule
{
weakref
}
.ReferenceError
}
exception]
{
2.2
}
\end{excdesc}
\begin{excdesc}
{
RuntimeError
}
Raised when an error is detected that doesn't fall in any of the
other categories. The associated value is a string indicating what
...
...
Doc/lib/libweakref.tex
View file @
8c2c3d30
...
...
@@ -111,7 +111,8 @@ be made to support weak references; see section \ref{weakref-extension},
\begin{excdesc}
{
ReferenceError
}
Exception raised when a proxy object is used but the underlying
object has been collected.
object has been collected. This is the same as the standard
\exception
{
ReferenceError
}
exception.
\end{excdesc}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment