diff options
-rw-r--r-- | Doc/glossary.rst | 2 | ||||
-rw-r--r-- | Lib/test/test_ast.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index f5ca0d9..3ac1031 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -147,7 +147,7 @@ Glossary dictionary An associative array, where arbitrary keys are mapped to values. The keys - can be any object with :meth:`__hash__` function and :meth:`__eq__` + can be any object with :meth:`__hash__` method and :meth:`__eq__` methods. Called a hash in Perl. docstring diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index b809d24..e11246c 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -201,9 +201,6 @@ class AST_Tests(unittest.TestCase): x.vararg with self.assertRaises(AttributeError): - x.foobar = 21 - - with self.assertRaises(AttributeError): ast.AST(lineno=2) with self.assertRaises(TypeError): |