On this page
  1. uuid.Enum
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

uuid.Enum

Prev: uuid.bytes_ | Up: uuid | Next: uuid.getnode
Rel: uuid.bytes_, uuid.getnode, uuid.int_, uuid.main
Ref: docs.python.org — uuid.Enum
Tags: #public #python3 #stdlib #uuid


Import

import uuid
from uuid import Enum

Signature & Overview

uuid.Enum(new_class_name, /, names, *, module=None, qualname=None, type=None, start=1, boundary=None)

Create a collection of name/value pairs.

Usage

import enum, uuid

assert uuid.Enum is enum.Enum

Gotchas

REPL Inspect

from uuid import Enum
help(Enum)

Linked from

Related notes