AttributeError:'ExtensibleHashTable'object has no attribute'insert'
时间: 2023-10-26 07:06:41 浏览: 43
This error is indicating that the object of the class ExtensibleHashTable does not have an attribute or method called 'insert'.
There could be a few reasons for this error:
1. The method 'insert' may not have been defined in the ExtensibleHashTable class. In this case, you would need to define the 'insert' method in the class.
2. The method 'insert' may be defined in a superclass of the ExtensibleHashTable class, but not in the ExtensibleHashTable class itself. In this case, you would need to make sure that the ExtensibleHashTable class inherits from the superclass that defines the 'insert' method.
3. There could be a typo in the code, and the method is actually spelled differently. In this case, you would need to double-check the spelling of the method and make sure it matches the method name in the code.
To fix this error, you will need to identify the root cause and take appropriate actions.
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)