Changeset 712 for trunk/src/connectors.py
- Timestamp:
- 02/16/10 12:33:37 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/connectors.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/connectors.py
r711 r712 21 21 sin, sinh, sqrt, tan, tanh 22 22 from pyNN import random, common, errors 23 from pyNN.space import Space 23 24 24 25 logger = logging.getLogger("PyNN") … … 147 148 """ 148 149 149 def __init__(self, allow_self_connections=True, weights=0.0, delays=None, space= common.Space()):150 def __init__(self, allow_self_connections=True, weights=0.0, delays=None, space=Space()): 150 151 """ 151 152 Create a new connector. … … 455 456 """ 456 457 457 def __init__(self, p_connect, allow_self_connections=True, weights=0.0, delays=None, space= common.Space()):458 def __init__(self, p_connect, allow_self_connections=True, weights=0.0, delays=None, space=Space()): 458 459 """ 459 460 Create a new connector. … … 500 501 501 502 def __init__(self, d_expression, allow_self_connections=True, 502 weights=0.0, delays=None, space= common.Space()):503 weights=0.0, delays=None, space=Space()): 503 504 """ 504 505 Create a new connector. … … 524 525 assert isinstance(allow_self_connections, bool) 525 526 self.allow_self_connections = allow_self_connections 526 assert isinstance(space, common.Space)527 assert isinstance(space, Space) 527 528 self.space = space 528 529
