Skip to content
Trang chủ » Attributeerror: Module Collections Has No Attribute Mutablemapping In Python

Attributeerror: Module Collections Has No Attribute Mutablemapping In Python

Attribute Error : module ‘collections’ has no attribute ‘Iterator’ | Django | Python | Flask  Error

Attributeerror: Module Collections Has No Attribute Mutablemapping

Understanding the AttributeError in Python

The AttributeError is a common error in Python that occurs when an attribute of an object or module does not exist. It is raised when an object or module is accessed for an attribute that is not defined within its namespace.

In most cases, this error is caused by a typo in the attribute name or by trying to access an attribute that does not exist. However, there are also cases where the AttributeError is raised due to other reasons, such as incompatible versions of modules or incorrect usage of module-specific classes.

Exploring the reason behind the ‘module collections has no attribute mutablemapping’ error

The ‘module collections has no attribute mutablemapping’ error occurs when you try to access the ‘mutablemapping’ attribute within the ‘collections’ module in Python, but it is not found. This error usually happens when the ‘collections’ module does not have the ‘mutablemapping’ attribute, which can happen due to various reasons.

An overview of the collections module in Python

The ‘collections’ module is a built-in module in Python that provides a collection of container data types, such as lists, tuples, sets, and dictionaries. It also includes specialized container types that extend the functionalities of the built-in data types.

This module is commonly used in Python programming because it provides efficient and high-performance alternatives to the built-in data types. It also offers additional functionalities and data structures that are not available in the standard library.

Introduction to the MutableMapping class in the collections module

The ‘MutableMapping’ class is one of the classes provided by the ‘collections’ module. It is a subclass of the ‘Mapping’ class and provides a mutable mapping interface. This means that objects created from this class can be modified after they are created.

The ‘MutableMapping’ class is used to create mutable mappings, which are data structures that map keys to values. It provides methods for adding, modifying, and removing items from the mapping. This class is commonly used when a mutable mapping data structure is required in Python.

Possible causes for the ‘module collections has no attribute mutablemapping’ error

1. Incompatible Python version: The ‘MutableMapping’ class was introduced in Python 2.6. If you are using an older version of Python, it may not have this attribute in the ‘collections’ module. Upgrading to a newer version of Python can resolve this issue.

2. Typo in attribute name: Double-check the attribute name and make sure it is spelled correctly. A simple typo can prevent the attribute from being found.

3. Incorrect usage of the module: Ensure that you are using the ‘collections’ module correctly. It may be necessary to import the specific class or function from the module before accessing its attributes.

4. Compatibility issues with other modules: It is possible that the ‘collections’ module is conflicting with another module in your code. Check if there are any imported modules that may be causing the error and resolve any compatibility issues.

Resolving the ‘module collections has no attribute mutablemapping’ error

1. Upgrade Python: If you are using an older version of Python, consider upgrading to a newer version that supports the ‘MutableMapping’ class.

2. Import the MutableMapping class explicitly: Instead of trying to access the ‘mutablemapping’ attribute directly, import the ‘MutableMapping’ class explicitly from the ‘collections’ module and use it directly in your code.

3. Check for typos: Double-check the attribute name and make sure it is spelled correctly without any typos.

4. Verify module compatibility: Ensure that the ‘collections’ module is compatible with other modules used in your code. If there are compatibility issues, consider using alternative modules or resolving the conflicts.

Alternatives to using the MutableMapping class in Python

If you encounter compatibility issues or are unable to access the ‘MutableMapping’ class in the ‘collections’ module, there are alternative ways to create mutable mapping data structures in Python:

1. Use the ‘dict’ class: The built-in ‘dict’ class in Python provides a mutable mapping interface and can be used as an alternative to the ‘MutableMapping’ class.

2. Implement a custom mutable mapping data structure: If none of the built-in classes meet your requirements, you can implement a custom mutable mapping class by subclassing the ‘collections’ module’s base classes, such as ‘Mapping’ or ‘MutableMapping’.

Best practices for handling similar attribute errors in Python

1. Double-check attribute names: Always ensure that attribute names are spelled correctly and are accessible within the objects or modules being used.

2. Read and understand the documentation: Before using any module or class, read its documentation to understand the available attributes and how to use them correctly.

3. Use explicit imports: Instead of relying on implicit imports, import the required classes or functions explicitly to avoid confusion and potential attribute errors.

4. Keep modules and packages up to date: Regularly update your Python modules and packages to their latest versions to take advantage of bug fixes and new features.

5. Maintain compatibility: Be aware of the compatibility of different modules and ensure they can work together without conflicts. If incompatibilities arise, consider using alternative modules or resolving the conflicts.

FAQs

Q: What does the ‘AttributeError: module collections has no attribute mutablemapping’ error mean?

A: This error occurs when the ‘mutablemapping’ attribute is not found within the ‘collections’ module in Python. It can be caused by using an incompatible Python version, typos in the attribute name, incorrect usage of the module, or compatibility issues with other modules.

Q: How can I resolve the ‘module collections has no attribute mutablemapping’ error?

A: To resolve this error, you can upgrade to a newer version of Python, import the ‘MutableMapping’ class explicitly, double-check attribute names for typos, and verify module compatibility with other modules used in your code.

Q: What are some alternatives to using the MutableMapping class in Python?

A: If you encounter issues with the ‘MutableMapping’ class, you can use the built-in ‘dict’ class as an alternative or implement a custom mutable mapping data structure by subclassing the appropriate base classes from the ‘collections’ module.

Q: What are some best practices for handling attribute errors in Python?

A: Some best practices include double-checking attribute names, reading and understanding the documentation, using explicit imports, keeping modules up to date, and maintaining compatibility between different modules and packages.

Attribute Error : Module ‘Collections’ Has No Attribute ‘Iterator’ | Django | Python | Flask Error

Keywords searched by users: attributeerror: module collections has no attribute mutablemapping TypeError cannot set ‘is_timeout’ attribute of immutable type ‘TimeoutError, Pyrebase, Cannot import name mutableset from collections, importerror: cannot import name ‘mapping’ from ‘collections’, Importerror cannot import name mutablemapping from collections odoo, Cannot import name ‘Container’ from ‘collections, Pip install collections, Change Python version

Categories: Top 76 Attributeerror: Module Collections Has No Attribute Mutablemapping

See more here: nhanvietluanvan.com

Typeerror Cannot Set ‘Is_Timeout’ Attribute Of Immutable Type ‘Timeouterror

TypeError: cannot set ‘is_timeout’ attribute of immutable type ‘TimeoutError’

If you have encountered the error message “TypeError: cannot set ‘is_timeout’ attribute of immutable type ‘TimeoutError’,” you might be wondering what it means and how to resolve it. This article will dive deep into this error, explaining its causes, providing potential solutions, and answering some frequently asked questions to help you understand and address the issue.

To start, let’s break down the error message itself. The “TypeError” part indicates that the error belongs to the category of type errors in Python. The error specifically states that you cannot set the ‘is_timeout’ attribute of the ‘TimeoutError’ type. Hence, this error is raised when you attempt to modify an attribute on an object of the ‘TimeoutError’ class that should not be modified.

The ‘is_timeout’ attribute in question is a built-in attribute of the ‘TimeoutError’ class in Python. This attribute is set automatically when a TimeoutError exception is raised, indicating whether the exception was caused by a timeout or not. By default, this attribute is read-only and cannot be modified directly.

Now, let’s explore some possible causes for encountering this error:

1. Trying to modify the ‘is_timeout’ attribute: Since ‘is_timeout’ is an attribute of the ‘TimeoutError’ class, attempting to modify it directly will result in a TypeError. You should avoid trying to set the ‘is_timeout’ attribute explicitly.

2. Calling a method that internally tries to modify ‘is_timeout’: It is also possible that the error arises from calling a method or function that indirectly tries to set the ‘is_timeout’ attribute. In such cases, you should review the code to identify any lines where the ‘is_timeout’ attribute is being modified, and modify the code accordingly.

Now, let’s delve into potential solutions to this error:

1. Avoid modifying ‘is_timeout’: The most straightforward solution is to avoid directly modifying the ‘is_timeout’ attribute of a ‘TimeoutError’ object. This attribute is generally used for informational purposes and should be considered read-only.

2. Review the code: If you encounter this error while calling a method or function, review the code to identify any instances where an attempt is made to modify the ‘is_timeout’ attribute. Modify the code to avoid this modification or find an alternative approach to achieve the desired outcome.

Now, let’s address some FAQs related to this error:

Q1. Is the ‘is_timeout’ attribute present in all TimeoutError exceptions?
A1. Yes, the ‘is_timeout’ attribute is a built-in attribute of the ‘TimeoutError’ class in Python. Therefore, it is present in all instances of TimeoutError exceptions.

Q2. Can I make the ‘is_timeout’ attribute writable?
A2. No, the ‘is_timeout’ attribute is intended to be read-only. It is automatically set when a TimeoutError exception occurs, allowing you to determine whether the exception was caused by a timeout or not. Altering its value directly can lead to unexpected behaviors.

Q3. Are there any alternative ways to handle timeouts without modifying the ‘is_timeout’ attribute?
A3. Yes, you can handle timeouts by using try-except blocks to catch TimeoutError exceptions and performing the necessary actions accordingly. Additionally, Python provides various timeout-related modules and functions that can be utilized to handle timeouts effectively, such as ‘signal’ module or ‘asyncio’ library.

In conclusion, encountering the “TypeError: cannot set ‘is_timeout’ attribute of immutable type ‘TimeoutError'” error is usually a result of trying to modify a read-only attribute of a ‘TimeoutError’ object. By understanding the causes and following the suggested solutions outlined in this article, you should be able to identify and rectify the issue, allowing your code to run smoothly. Remember to always refer to the Python documentation and seek assistance from the community if needed.

Pyrebase

Pyrebase: A Comprehensive Guide to Firebase for Python Developers

Introduction:
In today’s technology-driven world, developing robust and efficient web and mobile applications is essential. To accomplish this, developers often rely on powerful backend systems that offer real-time database functionality, file storage, authentication, and more. Firebase is one such platform that provides excellent tools and services for application development. For Python developers, Pyrebase serves as a convenient and comprehensive wrapper that enables seamless integration with Firebase services. In this article, we will explore Pyrebase in depth, discussing its features, usage, and benefits for Python developers.

What is Pyrebase?
Pyrebase is a Python library that serves as a convenient interface to interact with Firebase’s vast array of services. It simplifies Firebase integration by providing an intuitive and Pythonic API. Developed by the team behind the Pyrebase project, this library enhances the Firebase experience for Python developers, offering a quick and hassle-free way to access Firebase’s real-time database, authentication, file storage, and more.

Features of Pyrebase:
1. Real-time Database: Pyrebase leverages Firebase’s real-time database to offer seamless integration with Python applications. Developers can easily read and write data to the database, and receive real-time updates when changes occur. This functionality is especially useful for applications requiring live synchronization or collaborative features.

2. Authentication: With Pyrebase, developers can effortlessly implement user authentication in their applications. Pyrebase supports various authentication methods, such as email and password, phone number, social media platforms, and more. This allows developers to create secure, login-based applications with ease.

3. File Storage: Pyrebase enables developers to efficiently store and retrieve files from Firebase Cloud Storage. Whether it is images, audio files, or documents, Pyrebase offers a simple interface to manage file storage in Firebase. It also supports file metadata operations, such as retrieving download URLs or deleting files.

4. Cloud Messaging: Pyrebase integrates seamlessly with Firebase Cloud Messaging, allowing developers to send push notifications to their users. This feature is particularly useful when you want to keep your users engaged and informed about important updates or events.

Usage of Pyrebase:
To get started with Pyrebase, you need to have a Firebase project set up. Once your project is configured, installation of the Pyrebase library can be achieved through pip, the Python package manager. After installation, you can import the Pyrebase module and initialize it with your Firebase project credentials. This step ensures the Pyrebase library is connected to your Firebase project.

From there, you can start incorporating various Firebase services into your Python application. For example, to access the real-time database, Pyrebase provides intuitive methods like `db().child().get()` and `db().child().set()`. Similarly, to handle authentication, you can utilize methods like `auth().create_user_with_email_and_password()` and `auth().sign_in_with_email_and_password()`. Pyrebase adapts Firebase’s APIs into an elegantly simple Pythonic format, minimizing the learning curve for Python developers.

Benefits of Pyrebase:
1. Simplified Integration: Pyrebase drastically simplifies the process of integrating Firebase services into Python applications. By providing a Pythonic API, developers can easily incorporate Firebase’s wide range of services into their projects, eliminating the need for complex boilerplate code.

2. Seamless Real-time Updates: The real-time database functionality offered by Pyrebase allows developers to create dynamic applications that update in real-time. This is particularly advantageous for applications where multiple users interact and collaborate, such as chat applications or collaborative document editors.

3. Scalability: Firebase’s robust infrastructure combined with Pyrebase’s Python wrapper ensures seamless scalability. As user demand grows, developers can rely on Firebase’s scalable infrastructure to handle increasing server loads without worrying about performance issues.

4. Extensive Documentation and Community Support: The Pyrebase library benefits from the active Firebase and Python communities. With detailed documentation and plenty of examples available, developers can quickly find solutions to their queries or challenges. Additionally, the vast and active community ensures timely updates and bug fixes.

FAQs:

Q1. Is Pyrebase compatible with all Firebase services?
Ans. Yes, Pyrebase supports most of Firebase’s services, including the real-time database, authentication, file storage, cloud messaging, and more. It offers a comprehensive interface to seamlessly integrate these services into Python applications.

Q2. Can I use Pyrebase with other programming languages?
Ans. Pyrebase is primarily designed for Python developers, but Firebase itself supports multiple programming languages. You can utilize Firebase’s native SDKs for other languages, such as JavaScript, Java, or Swift, to implement Firebase services in your applications developed using those languages.

Q3. Is Pyrebase suitable for large-scale applications?
Ans. Absolutely, Pyrebase works well for applications of all sizes. Firebase’s scalable infrastructure and Pyrebase’s elegant integration ensure that your application can handle any user load without compromising on performance.

Q4. Does Pyrebase require deep knowledge of Firebase?
Ans. Pyrebase simplifies Firebase integration and provides an intuitive interface. While some understanding of Firebase’s basic concepts is recommended, you don’t need an in-depth knowledge of Firebase to efficiently use Pyrebase in your Python applications.

Q5. Is Pyrebase an officially supported Firebase library?
Ans. Pyrebase is not an officially supported Firebase library. However, it is developed by a dedicated team and has gained popularity among Python developers due to its simplicity and effectiveness.

Conclusion:
Pyrebase is an invaluable tool for Python developers seeking efficient integration with Firebase services. This comprehensive wrapper simplifies the process of incorporating Firebase into Python applications, offering seamless real-time updates, scalable infrastructure, and extensive community support. Whether you are building a small-scale application or a large-scale project, Pyrebase provides the necessary tools to enhance your development experience and create robust, dynamic applications.

Cannot Import Name Mutableset From Collections

Title: Understanding “Cannot import name mutableset from collections” Error in Python: Explained and Resolved

Introduction:
Python is known for its versatility and powerful built-in libraries. One such helpful module is “collections,” which offers advanced data structures beyond the standard built-in types. However, encountering an error message stating “Cannot import name mutableset from collections” while importing this module can be perplexing. In this article, we will delve into the reasons behind this error, explore its potential causes, and provide you with possible solutions.

Understanding the “Cannot import name mutableset from collections” Error:
The error message “Cannot import name mutableset from collections” typically occurs when trying to import the “mutableset” class or object directly from the “collections” module using the statement:

“`
from collections import mutableset
“`

The “mutableset” class does not exist within the “collections” module; hence, Python raises an ImportError, causing the failure.

Potential Causes of the Error:
1. Python Version Mismatch: The “mutableset” class was introduced in Python 3.9, so if you are using an older version of Python, attempting to import it will result in the mentioned error. Ensure that your Python version is 3.9 or above.

2. Custom Usage of “collections”: It is possible that you might have created a module or script named “collections” in your working directory, which conflicts with the standard Python “collections” module. In such cases, Python will import your custom module instead, leading to this error. Rename your custom module to avoid this conflict.

3. Inaccurate Code/Script: Sometimes, the error may simply be due to a typo or incorrect usage of the “mutableset” object. Double-check your code to verify that you are correctly calling upon the “mutableset” class and using it as intended.

Solutions:
1. Python Version Upgrade: If you are running an older version of Python (prior to 3.9), upgrade to the latest Python version to gain access to the “mutableset” class. Updating your Python installation can often resolve this error.

2. Correctly Importing “collections”: If you have named any custom module or script as “collections,” it is essential to rename or delete it. Python will then be able to correctly import the standard “collections” module. Ensure that you are importing the module as follows:

“`python
import collections
“`

3. Correct Usage of “mutableset”: If you have verified that your Python version is compatible and you are importing the “collections” module correctly, recheck your code for any typos or incorrect usage of “mutableset.” Ensure that you are utilizing it in line with the official documentation or examples provided.

FAQs:

Q1: Can I use “mutableset” in older versions of Python?
A1: No, the “mutableset” class was introduced in Python 3.9. If you are using an older version, you need to upgrade to Python 3.9 or above.

Q2: Why am I encountering this error despite having Python 3.9 or later installed?
A2: Double-check your code for any inadvertent typos or incorrect usages of “mutableset.” Ensure that you are importing the “collections” module correctly.

Q3: What if I need a mutable set-like data structure in Python versions prior to 3.9?
A3: Although Python versions prior to 3.9 do not include a dedicated “mutableset” class, you can use alternative options like “set” to achieve similar functionality. Be aware that “set” is an immutable data structure in older Python versions, but it can still be modified using other techniques.

Q4: I renamed my custom “collections” module, but I’m still facing the same error. What should I do?
A4: Ensure that you have completely removed any previously generated compiled files or cache associated with your old custom “collections” module. Python may still refer to these files when importing, causing conflicts.

Q5: Is it safe to delete the “collections” module?
A5: No, you should never delete the standard “collections” module from your Python installation. It is an essential built-in module used by many Python programs.

Conclusion:
The “Cannot import name mutableset from collections” error in Python arises due to the absence of the “mutableset” class in versions prior to Python 3.9 or incorrectly referencing the “collections” module. By understanding the cause of the error and following the aforementioned solutions, you can overcome this issue and continue utilizing the advanced data structures provided by the “collections” module effectively.

Images related to the topic attributeerror: module collections has no attribute mutablemapping

Attribute Error : module ‘collections’ has no attribute ‘Iterator’ | Django | Python | Flask  Error
Attribute Error : module ‘collections’ has no attribute ‘Iterator’ | Django | Python | Flask Error

Found 38 images related to attributeerror: module collections has no attribute mutablemapping theme

Solved] - Attributeerror: Module 'Collections' Has No Attribute ' Mutablemapping' - Dronekit-Python | Elucidate Drones
Solved] – Attributeerror: Module ‘Collections’ Has No Attribute ‘ Mutablemapping’ – Dronekit-Python | Elucidate Drones
Attributeerror: Module Collections Has No Attribute Mutablemapping
Attributeerror: Module Collections Has No Attribute Mutablemapping
Handling Attributeerror: Module 'Collections' Has No Attribute ' Mutablemapping'
Handling Attributeerror: Module ‘Collections’ Has No Attribute ‘ Mutablemapping’
Attributeerror: Module Collections Has No Attribute Mutablemapping
Attributeerror: Module Collections Has No Attribute Mutablemapping
Module 'Collections' Has No Attribute 'Mutablemapping' [Solved]
Module ‘Collections’ Has No Attribute ‘Mutablemapping’ [Solved]
Jupyter Notebook Attribute Error: Module 'Collections' Has No Attribute ' Mutablemapping' - Stack Overflow
Jupyter Notebook Attribute Error: Module ‘Collections’ Has No Attribute ‘ Mutablemapping’ – Stack Overflow
Python Module Collections Has No Attribute 'Mutablemapping' | Sebhastian
Python Module Collections Has No Attribute ‘Mutablemapping’ | Sebhastian
Python Error: Class Requestscookiejar(Cookielib.Cookiejar, Collections. Mutablemapping): - In File Cookies.Py - Stack Overflow
Python Error: Class Requestscookiejar(Cookielib.Cookiejar, Collections. Mutablemapping): – In File Cookies.Py – Stack Overflow
Handling Attributeerror: Module 'Collections' Has No Attribute ' Mutablemapping'
Handling Attributeerror: Module ‘Collections’ Has No Attribute ‘ Mutablemapping’
Handling Attributeerror: Module 'Collections' Has No Attribute ' Mutablemapping'
Handling Attributeerror: Module ‘Collections’ Has No Attribute ‘ Mutablemapping’
Attributeerror: Module 'Collections' Has No Attribute 'Mutablemapping' ·  Issue #5469 · Pypa/Pipenv · Github
Attributeerror: Module ‘Collections’ Has No Attribute ‘Mutablemapping’ · Issue #5469 · Pypa/Pipenv · Github
Handling Attributeerror: Module 'Collections' Has No Attribute ' Mutablemapping'
Handling Attributeerror: Module ‘Collections’ Has No Attribute ‘ Mutablemapping’
Attributeerror: Module 'Collection' Has No Attribute 'Mutablemapping' ·  Issue #1132 · Dronekit/Dronekit-Python · Github
Attributeerror: Module ‘Collection’ Has No Attribute ‘Mutablemapping’ · Issue #1132 · Dronekit/Dronekit-Python · Github
Attributeerror: Module Collections Has No Attribute Mutablemapping
Attributeerror: Module Collections Has No Attribute Mutablemapping
关于【Attributeerror: Module 'Collections' Has No Attribute  'Mapping'】出现的问题_Szetozeze的博客-Csdn博客
关于【Attributeerror: Module ‘Collections’ Has No Attribute ‘Mapping’】出现的问题_Szetozeze的博客-Csdn博客
Python Module Collections Has No Attribute 'Mutablemapping' | Sebhastian
Python Module Collections Has No Attribute ‘Mutablemapping’ | Sebhastian
Module 'Collections' Has No Attribute 'Mutablemapping' [Solved]
Module ‘Collections’ Has No Attribute ‘Mutablemapping’ [Solved]
Attributeerror: Module 'Collections' Has No Attribute 'Mutablemapping '_愿此后再无Wa的博客-Csdn博客
Attributeerror: Module ‘Collections’ Has No Attribute ‘Mutablemapping ‘_愿此后再无Wa的博客-Csdn博客
Attributeerror: Module 'Collections' Has No Attribute 'Mutablemapping' ·  Issue #10253 · Pymedusa/Medusa · Github
Attributeerror: Module ‘Collections’ Has No Attribute ‘Mutablemapping’ · Issue #10253 · Pymedusa/Medusa · Github
Attributeerror: Module 'Collections' Has No Attribute 'Mutablemapping '_愿此后再无Wa的博客-Csdn博客
Attributeerror: Module ‘Collections’ Has No Attribute ‘Mutablemapping ‘_愿此后再无Wa的博客-Csdn博客
Python - Tensorflow:Attributeerror: 'Module' Object Has No Attribute 'Mul'  - Stack Overflow
Python – Tensorflow:Attributeerror: ‘Module’ Object Has No Attribute ‘Mul’ – Stack Overflow
Elucidate Drones
Elucidate Drones
问题解决Attributeerror: Module 'Google.Protobuf.Internal.Containers' Has No  Attribute 'Mutablemapping'_隐形的翅膀_Xxz的博客-Csdn博客
问题解决Attributeerror: Module ‘Google.Protobuf.Internal.Containers’ Has No Attribute ‘Mutablemapping’_隐形的翅膀_Xxz的博客-Csdn博客
Module 'Collections' Has No Attribute 'Mutablemapping' [Solved]
Module ‘Collections’ Has No Attribute ‘Mutablemapping’ [Solved]
Attribute Error : Module 'Collections' Has No Attribute 'Iterator' | Django  | Python | Flask Error - Youtube
Attribute Error : Module ‘Collections’ Has No Attribute ‘Iterator’ | Django | Python | Flask Error – Youtube
Attributeerror: Module 'Collections' Has No Attribute 'Mutablemapping '_愿此后再无Wa的博客-Csdn博客
Attributeerror: Module ‘Collections’ Has No Attribute ‘Mutablemapping ‘_愿此后再无Wa的博客-Csdn博客
User Just Khaithang - Ask Ubuntu
User Just Khaithang – Ask Ubuntu
Attributeerror: Module 'Collection' Has No Attribute 'Mutablemapping' ·  Issue #1132 · Dronekit/Dronekit-Python · Github
Attributeerror: Module ‘Collection’ Has No Attribute ‘Mutablemapping’ · Issue #1132 · Dronekit/Dronekit-Python · Github

Article link: attributeerror: module collections has no attribute mutablemapping.

Learn more about the topic attributeerror: module collections has no attribute mutablemapping.

See more: blog https://nhanvietluanvan.com/luat-hoc

Leave a Reply

Your email address will not be published. Required fields are marked *