Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
calendar.different_locale Class Reference

List of all members.

Public Member Functions

def __init__
def __enter__
def __exit__

Public Attributes

 locale
 oldlocale

Detailed Description

Definition at line 484 of file calendar.py.


Constructor & Destructor Documentation

def calendar.different_locale.__init__ (   self,
  locale 
)

Definition at line 485 of file calendar.py.

00485 
00486     def __init__(self, locale):
00487         self.locale = locale

Here is the caller graph for this function:


Member Function Documentation

Definition at line 488 of file calendar.py.

00488 
00489     def __enter__(self):
00490         self.oldlocale = _locale.getlocale(_locale.LC_TIME)
00491         _locale.setlocale(_locale.LC_TIME, self.locale)

def calendar.different_locale.__exit__ (   self,
  args 
)

Definition at line 492 of file calendar.py.

00492 
00493     def __exit__(self, *args):
00494         _locale.setlocale(_locale.LC_TIME, self.oldlocale)
00495 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 486 of file calendar.py.

Definition at line 489 of file calendar.py.


The documentation for this class was generated from the following file: