A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-April/044485.html below:

[Python-Dev] Decimal - context manipulation

[Python-Dev] Decimal - context manipulationPaul Moore pf_moore at yahoo.co.uk
Wed Apr 21 03:56:02 EDT 2004
One thing I couldn't find an obvious way of doing with Decimal is to
obtain a copy of the current context, with a different (say)
precision. The Context constructor defaults from DefaultContext rather
than from the current context, and I can't see a way of modifying the
precision of a Context object (is the "prec" attribute intended to be
publicly writeable?) I assume that copy.copy works to copy a context,
although maybe an explicit copy method would be useful?

Paul.
-- 
This signature intentionally left blank


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4