aridity 100__tar.gz → 102__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 100
3
+ Version: 102
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
@@ -346,6 +346,16 @@ If given 1 arg, evaluate it against every scope in `objsresolvable` and return t
346
346
  If given 2 args, the first is a variable name to which each scope is temporarily assigned.
347
347
  If given 3 args, the first two are variable names for scope key and scope respectively.
348
348
 
349
+ <a id="aridity.functions.map1"></a>
350
+
351
+ ###### map1
352
+
353
+ ```python
354
+ def map1(scope, contextresolvable, resultresolvable)
355
+ ```
356
+
357
+ Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.
358
+
349
359
  <a id="aridity.functions.join"></a>
350
360
 
351
361
  ###### join
@@ -329,6 +329,16 @@ If given 1 arg, evaluate it against every scope in `objsresolvable` and return t
329
329
  If given 2 args, the first is a variable name to which each scope is temporarily assigned.
330
330
  If given 3 args, the first two are variable names for scope key and scope respectively.
331
331
 
332
+ <a id="aridity.functions.map1"></a>
333
+
334
+ ###### map1
335
+
336
+ ```python
337
+ def map1(scope, contextresolvable, resultresolvable)
338
+ ```
339
+
340
+ Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.
341
+
332
342
  <a id="aridity.functions.join"></a>
333
343
 
334
344
  ###### join
@@ -110,6 +110,7 @@ def map_(scope, objsresolvable, *args):
110
110
  return result
111
111
 
112
112
  def map1(scope, contextresolvable, resultresolvable):
113
+ 'Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.'
113
114
  from .scope import ScalarScope, Scope
114
115
  context = contextresolvable.resolve(scope)
115
116
  # FIXME: In scalar context case we need to propagate its resolve context.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 100
3
+ Version: 102
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
@@ -346,6 +346,16 @@ If given 1 arg, evaluate it against every scope in `objsresolvable` and return t
346
346
  If given 2 args, the first is a variable name to which each scope is temporarily assigned.
347
347
  If given 3 args, the first two are variable names for scope key and scope respectively.
348
348
 
349
+ <a id="aridity.functions.map1"></a>
350
+
351
+ ###### map1
352
+
353
+ ```python
354
+ def map1(scope, contextresolvable, resultresolvable)
355
+ ```
356
+
357
+ Like map, treating the given resolvable as the sole element in a collection and returning the resulting sole element instead of a collection.
358
+
349
359
  <a id="aridity.functions.join"></a>
350
360
 
351
361
  ###### join
@@ -49,7 +49,7 @@ class SourceInfo:
49
49
  sourceinfo = SourceInfo('.')
50
50
  setup(
51
51
  name = 'aridity',
52
- version = '100',
52
+ version = '102',
53
53
  description = 'DRY config and template system, easily extensible with Python',
54
54
  url = 'https://pypi.org/project/aridity/',
55
55
  author = 'foyono',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes