Author: reinhard
Date: 2009-10-06 01:27:35 -0500 (Tue, 06 Oct 2009)
New Revision: 9932
Modified:
trunk/gnue-common/src/apps/GDebug.py
trunk/gnue-common/src/apps/i18n.py
trunk/gnue-common/src/logic/language.py
Log:
Some epydoc fixes.
Modified: trunk/gnue-common/src/apps/GDebug.py
===================================================================
--- trunk/gnue-common/src/apps/GDebug.py 2009-10-05 22:25:50 UTC (rev 9931)
+++ trunk/gnue-common/src/apps/GDebug.py 2009-10-06 06:27:35 UTC (rev 9932)
@@ -84,7 +84,7 @@
"""
Write a message to the debug-output. This function is available in the
global namespace. DEPRECATED. Use the logging functions in
- L{gnue.common.base.logging} instead.
+ L{gnue.common.base.log} instead.
@param level: the debug-level the message will be logged in
@param message: the message to be logged
@@ -104,7 +104,7 @@
"""
Write information about the current function and its parameters to
debug-output. This function is available in the global namespace.
- DEPRECATED. Use L{gnue.common.base.logging.logged_f} instead.
+ DEPRECATED. Use L{gnue.common.base.log.logged_f} instead.
assert gEnter is intended to be called at the begin of a function.
@@ -162,7 +162,7 @@
"""
Write information about the current function and its return value to
debug-output. This function is available in the global namespace.
- DEPRECATED. Use L{gnue.common.base.logging.logged_f} instead.
+ DEPRECATED. Use L{gnue.common.base.log.logged_f} instead.
gLeave is intended to be called at the end of a function.
@@ -208,7 +208,7 @@
def setDebug (level, file = None):
"""
Initialize and configure the debug message system.
- DEPRECATED. Use the logging functions in L{gnue.common.base.logging}
+ DEPRECATED. Use the logging functions in L{gnue.common.base.log}
instead.
@param level: A string with the debug levels to output, e.g. "0-3,5,7"
@@ -256,7 +256,7 @@
def printMesg (level, message):
"""
- DEPRECATED. Use the logging functions in L{gnue.common.base.logging}
+ DEPRECATED. Use the logging functions in L{gnue.common.base.log}
instead.
"""
__builtin__.__dict__ ['gDebug'] (level, message)
Modified: trunk/gnue-common/src/apps/i18n.py
===================================================================
--- trunk/gnue-common/src/apps/i18n.py 2009-10-05 22:25:50 UTC (rev 9931)
+++ trunk/gnue-common/src/apps/i18n.py 2009-10-06 06:27:35 UTC (rev 9932)
@@ -54,7 +54,7 @@
def getlanguage():
"""
Returns the language of the currently active locale. This can be changed
- with L{set_current_locale}.
+ with L{setcurrentlocale}.
@return: language of the current locale.
"""
@@ -69,7 +69,7 @@
"""
Try to find out which locale the user is using. This is always the locale
of the user running the program and is not touched by
- L{set_current_locale}.
+ L{setcurrentlocale}.
@return: localestring of the user's locale, i.e. de_AT@euro.
"""
Modified: trunk/gnue-common/src/logic/language.py
===================================================================
--- trunk/gnue-common/src/logic/language.py 2009-10-05 22:25:50 UTC (rev 9931)
+++ trunk/gnue-common/src/logic/language.py 2009-10-06 06:27:35 UTC (rev 9932)
@@ -77,9 +77,7 @@
"""
Error in user code compilation.
- An error occured when trying to compile user code. Details of the error are
- available through the L{getName}, L{getDetail}, and L{getMessage}
- methods.
+ An error occured when trying to compile user code.
"""
pass
@@ -89,9 +87,7 @@
"""
Error in user code execution.
- An error occured when trying to execute user code. Details of the error are
- available through the L{getName}, L{getDetail}, and L{getMessage}
- methods.
+ An error occured when trying to execute user code.
"""
pass
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.