On this page
  1. decimal.Clamped
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

decimal.Clamped

Up: decimal | Next: decimal.Context
Rel: decimal.Context, decimal.ConversionSyntax, decimal.Decimal, decimal.DecimalException
Ref: docs.python.org โ€” decimal.Clamped
Tags: #public #python3 #stdlib #decimal


Import

import decimal
from decimal import Clamped

Signature & Overview

decimal.Clamped(...)

decimal.Clamped class.

Methods & Attributes

Usage

import decimal

assert issubclass(decimal.Clamped, decimal.DecimalException)

Gotchas

REPL Inspect

from decimal import Clamped
help(Clamped)

Linked from

Related notes