Skip to content

Commit

Permalink
Update scopes.py docstring (pymc-devs#243)
Browse files Browse the repository at this point in the history
* Update scopes.py

CC @Sayam753

* Update scopes.py
  • Loading branch information
ferrine authored May 9, 2020
1 parent f82cc36 commit 9fdc704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc4/scopes.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Scope(object):
The class absorbs any keyword arguments passed there. Accessing any attribute should return
either None or the passed value by keyword. :func:`Scope.chain` will return all
attributes for context, starting from the last one.
attributes for context, starting from the first one (the deepest one is the last one).
Examples
--------
Expand Down Expand Up @@ -40,7 +40,7 @@ def __getattr__(self, item):

@classmethod
def get_contexts(cls):
# no race-condition here, cls.contexts is a thread-local object
# no race-condition here, cls.context is a thread-local object
# be sure not to override contexts in a subclass however!
if not hasattr(cls.context, "stack"):
cls.context.stack = []
Expand Down

0 comments on commit 9fdc704

Please sign in to comment.