~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Patch Queue Manager
  • Date: 2013-08-10 15:09:30 UTC
  • mfrom: (6586.1.1 various)
  • Revision ID: pqm@pqm.ubuntu.com-20130810150930-5heu5saz1ovys4wo
(vila) Docstrings cleanup. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2316
2316
        :param help: a doc string to explain the option to the user.
2317
2317
 
2318
2318
        :param from_unicode: a callable to convert the unicode string
2319
 
            representing the option value in a store. This is not called for
2320
 
            the default value.
 
2319
            representing the option value in a store or its default value.
2321
2320
 
2322
2321
        :param invalid: the action to be taken when an invalid value is
2323
2322
            encountered in a store. This is called only when from_unicode is
3400
3399
 
3401
3400
 
3402
3401
class LocationStore(LockableIniFileStore):
3403
 
    """A config store for global options.
 
3402
    """A config store for options specific to a location.
3404
3403
 
3405
 
    There is a single GlobalStore for a given process.
 
3404
    There is a single LocationStore for a given process.
3406
3405
    """
3407
3406
 
3408
3407
    def __init__(self, possible_transports=None):