Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
referencing an attribute
#1
is there a way to make a variable be a reference to an attribute? i would like to set up a named reference to decimal.getcontext().prec so i have a simpler way to set the decimal precision. this aappears to be an attribute.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
referencing an attribute - by Skaperen - Oct-26-2023, 10:41 PM
RE: referencing an attribute - by snippsat - Oct-27-2023, 11:40 AM
RE: referencing an attribute - by Skaperen - Oct-28-2023, 01:25 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020