Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

decimal_inference.py 291B

12345678910
  1. """hum E1011 on .prec member is justifiable since Context instance are built
  2. using setattr/locals :(
  3. 2007/02/17 update: .prec attribute is now detected by astroid :o)
  4. """
  5. from __future__ import print_function
  6. import decimal
  7. decimal.getcontext().prec = 200
  8. print(decimal.getcontext().prec)