diff options
| author | nitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-07-17 17:36:06 +0000 |
|---|---|---|
| committer | nitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-07-17 17:36:06 +0000 |
| commit | 2e515d029f448a0093e7d050e6a97f41eec74d47 (patch) | |
| tree | 534cbc18c29d496c6a4152ed8fe725fa959a5b44 /freebase | |
| parent | 60478217643aa7b331c5890f61751491d8a3ebee (diff) | |
make the comments make sense
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@197 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'freebase')
| -rwxr-xr-x | freebase/__init__.py | 4 | ||||
| -rw-r--r-- | freebase/api/session.py | 2 | ||||
| -rw-r--r-- | freebase/sandbox.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/freebase/__init__.py b/freebase/__init__.py index c55b700..03e3e56 100755 --- a/freebase/__init__.py +++ b/freebase/__init__.py @@ -5,7 +5,7 @@ import sandbox __all__ = ["HTTPMetawebSession", "sandbox"] -_base = HTTPMetawebSession("freebase.com") +_base = HTTPMetawebSession("http://freebase.com") # we want to add base's functions to __init__.py # so that we can say freebase.func() and really @@ -36,7 +36,7 @@ for funcname in dir(_base): __all__.append(funcname) # we don't want any self-referencing -# business going. Plus, this is cleaner. +# business going on. Plus, this is cleaner. del self # we want dir(freebase) to be clean diff --git a/freebase/api/session.py b/freebase/api/session.py index 2348579..8df5779 100644 --- a/freebase/api/session.py +++ b/freebase/api/session.py @@ -47,7 +47,7 @@ import cookielib SEPARATORS = (",", ":") # json libraries rundown -# jsonlib2 is the fastest, but it's written in C, so not as +# jsonlib2 is the fastest, but it's written in C, thus not as # accessible. json is included in python2.6. simplejson # is the same as json. diff --git a/freebase/sandbox.py b/freebase/sandbox.py index e482118..05f7a0b 100644 --- a/freebase/sandbox.py +++ b/freebase/sandbox.py @@ -30,7 +30,7 @@ import sys from freebase.api.session import HTTPMetawebSession -_base = HTTPMetawebSession("sandbox.freebase.com") +_base = HTTPMetawebSession("http://sandbox.freebase.com") __all__ = ["HTTPMetawebSession"] @@ -61,7 +61,7 @@ for funcname in dir(_base): __all__.append(funcname) # we don't want any self-referencing -# business going. Plus, this is cleaner. +# business going on. Plus, this is cleaner. del self # we want dir(freebase) to be clean |
