A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/346408.html below:

What's the difference between VAR and _VAR_?

What's the difference between VAR and _VAR_? What's the difference between VAR and _VAR_?Johnny Lee johnnyandfiona at hotmail.com
Fri Sep 9 00:19:03 EDT 2005
Hi,
   I'm new in python and I was wondering what's the difference between
the two code section below:

(I)
class TestResult:
	_pass_ = "pass"
	_fail_ = "fail"
	_exception_ = "exception"

(II)
class TestResult:
	pass = "pass"
	fail = "fail"
	exception = "exception"

   Thanks for your help.


More information about the Python-list 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