mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	bpo-23984: Improve descriptor documentation (GH-1034)
https://bugs.python.org/issue23984
This commit is contained in:
		
							parent
							
								
									4a1468e593
								
							
						
					
					
						commit
						abbdd1fc5c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -372,9 +372,9 @@ calls are unexciting:: | ||||||
|     ...         print(x) |     ...         print(x) | ||||||
|     ...     f = staticmethod(f) |     ...     f = staticmethod(f) | ||||||
|     ... |     ... | ||||||
|     >>> print(E.f(3)) |     >>> E.f(3) | ||||||
|     3 |     3 | ||||||
|     >>> print(E().f(3)) |     >>> E().f(3) | ||||||
|     3 |     3 | ||||||
| 
 | 
 | ||||||
| Using the non-data descriptor protocol, a pure Python version of | Using the non-data descriptor protocol, a pure Python version of | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Shubham Aggarwal
						Shubham Aggarwal