projects
/
OpenSPARC-T2-DV
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV]
/
tools
/
src
/
nas,5.n2.os.2
/
lib
/
python
/
lib
/
python2.4
/
test
/
doctest_aliases.py
# Used by test_doctest.py.
class
TwoNames
:
'''f() and g() are two names for the same method'''
def
f
(
self
):
'''
>>> print TwoNames().f()
f
'''
return
'f'
g
=
f
# define an alias for f