File: anchor.py

package info (click to toggle)
python-dynaconf 3.2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,900 kB
  • sloc: python: 21,464; sh: 9; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 322 bytes parent folder | download
1
2
3
4
5
6
if False:from typing import Any,Dict,Optional,List,Union,Optional,Iterator
anchor_attrib='_yaml_anchor'
class Anchor:
	__slots__='value','always_dump';attrib=anchor_attrib
	def __init__(A):A.value=None;A.always_dump=False
	def __repr__(A):B=', (always dump)'if A.always_dump else'';return'Anchor({!r}{})'.format(A.value,B)